home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-10-19 | 64.4 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Oct 7 10:07:05 1994, modified Wed Oct 19 10:52:39 1994, creator 'HLX2', type 'ONLN', 62774 bytes "NW22 SNMP Transports" , at 0xf5b6 2917 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| raw Group 3 FAX bitmap
| default (weak)
| |
33%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 4e 57 32 32 20 53 | 4e 4d 50 20 54 72 61 6e |..NW22 S|NMP Tran|
|00000010| 73 70 6f 72 74 73 00 00 | 00 00 00 00 00 00 00 00 |sports..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 f5 36 00 | 00 0b 65 aa bb 06 89 aa |......6.|..e.....|
|00000060| ca e3 37 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..7.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 88 ab 00 00 |........|........|
|00000080| 4e 57 20 32 32 20 2d 20 | 53 4e 4d 50 20 54 72 61 |NW 22 - |SNMP Tra|
|00000090| 6e 73 70 6f 72 74 73 0d | 4e 65 74 77 6f 72 6b 69 |nsports.|Networki|
|000000a0| 6e 67 09 0d 57 72 69 74 | 74 65 6e 20 62 79 3a 09 |ng..Writ|ten by:.|
|000000b0| 4d 69 6b 65 20 52 69 74 | 74 65 72 20 61 6e 64 20 |Mike Rit|ter and |
|000000c0| 56 69 6e 63 65 6e 74 20 | 4c 75 62 65 74 09 4a 75 |Vincent |Lubet.Ju|
|000000d0| 6e 65 20 31 39 39 33 0d | 54 68 69 73 20 54 65 63 |ne 1993.|This Tec|
|000000e0| 68 6e 69 63 61 6c 20 4e | 6f 74 65 20 65 78 70 6c |hnical N|ote expl|
|000000f0| 61 69 6e 73 20 68 6f 77 | 20 74 6f 20 77 72 69 74 |ains how| to writ|
|00000100| 65 20 61 6e 20 53 4e 4d | 50 20 28 53 69 6d 70 6c |e an SNM|P (Simpl|
|00000110| 65 20 4e 65 74 77 6f 72 | 6b 20 4d 61 6e 61 67 65 |e Networ|k Manage|
|00000120| 6d 65 6e 74 20 50 72 6f | 74 6f 63 6f 6c 29 20 54 |ment Pro|tocol) T|
|00000130| 72 61 6e 73 70 6f 72 74 | 2e 20 41 6e 20 53 4e 4d |ransport|. An SNM|
|00000140| 50 20 54 72 61 6e 73 70 | 6f 72 74 20 69 73 20 72 |P Transp|ort is r|
|00000150| 65 73 70 6f 6e 73 69 62 | 6c 65 20 66 6f 72 20 63 |esponsib|le for c|
|00000160| 6f 6d 6d 75 6e 69 63 61 | 74 69 6e 67 20 62 65 74 |ommunica|ting bet|
|00000170| 77 65 65 6e 20 74 68 65 | 20 53 4e 4d 50 20 4d 61 |ween the| SNMP Ma|
|00000180| 6e 61 67 65 72 20 61 6e | 64 20 61 20 70 61 72 74 |nager an|d a part|
|00000190| 69 63 75 6c 61 72 20 6e | 65 74 77 6f 72 6b 20 6c |icular n|etwork l|
|000001a0| 61 79 65 72 2e 20 54 68 | 75 73 2c 20 69 66 20 79 |ayer. Th|us, if y|
|000001b0| 6f 75 20 77 65 72 65 20 | 77 72 69 74 69 6e 67 20 |ou were |writing |
|000001c0| 61 20 6e 65 77 20 6e 65 | 74 77 6f 72 6b 20 73 74 |a new ne|twork st|
|000001d0| 61 63 6b 20 66 6f 72 20 | 74 68 65 20 4d 61 63 69 |ack for |the Maci|
|000001e0| 6e 74 6f 73 68 20 61 6e | 64 20 77 61 6e 74 65 64 |ntosh an|d wanted|
|000001f0| 20 69 74 20 74 6f 20 75 | 73 65 20 74 68 65 20 53 | it to u|se the S|
|00000200| 4e 4d 50 20 4d 61 6e 61 | 67 65 72 2c 20 79 6f 75 |NMP Mana|ger, you|
|00000210| 20 77 6f 75 6c 64 20 77 | 72 69 74 65 20 61 6e 20 | would w|rite an |
|00000220| 53 4e 4d 50 20 54 72 61 | 6e 73 70 6f 72 74 20 66 |SNMP Tra|nsport f|
|00000230| 6f 72 20 79 6f 75 72 20 | 6e 65 74 77 6f 72 6b 20 |or your |network |
|00000240| 73 74 61 63 6b 2e 20 0d | 54 6f 70 69 63 73 0d a5 |stack. .|Topics..|
|00000250| 20 43 72 65 61 74 69 6e | 67 20 61 6e 64 20 69 6e | Creatin|g and in|
|00000260| 69 74 69 61 6c 69 7a 69 | 6e 67 20 61 6e 20 53 4e |itializi|ng an SN|
|00000270| 4d 50 20 54 72 61 6e 73 | 70 6f 72 74 0d a5 20 52 |MP Trans|port.. R|
|00000280| 65 61 64 69 6e 67 20 61 | 6e 64 20 57 72 69 74 69 |eading a|nd Writi|
|00000290| 6e 67 20 53 4e 4d 50 20 | 50 61 63 6b 65 74 73 20 |ng SNMP |Packets |
|000002a0| 0d 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 0d 49 74 |.Introdu|ction.It|
|000002b0| 20 69 73 20 61 73 73 75 | 6d 65 64 20 69 6e 20 74 | is assu|med in t|
|000002c0| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 20 74 68 61 |his docu|ment tha|
|000002d0| 74 20 79 6f 75 20 75 6e | 64 65 72 73 74 61 6e 64 |t you un|derstand|
|000002e0| 20 4d 61 63 53 4e 4d 50 | 2c 20 6f 62 6a 65 63 74 | MacSNMP|, object|
|000002f0| 2d 6f 72 69 65 6e 74 65 | 64 20 70 72 6f 67 72 61 |-oriente|d progra|
|00000300| 6d 6d 69 6e 67 20 61 6e | 64 20 74 68 65 20 53 68 |mming an|d the Sh|
|00000310| 61 72 65 64 20 4c 69 62 | 72 61 72 79 20 4d 61 6e |ared Lib|rary Man|
|00000320| 61 67 65 72 2e 20 54 68 | 65 20 53 4e 4d 50 20 4d |ager. Th|e SNMP M|
|00000330| 61 6e 61 67 65 72 20 69 | 73 20 62 75 69 6c 74 20 |anager i|s built |
|00000340| 75 73 69 6e 67 20 74 68 | 65 20 53 68 61 72 65 64 |using th|e Shared|
|00000350| 20 4c 69 62 72 61 72 79 | 20 4d 61 6e 61 67 65 72 | Library| Manager|
|00000360| 20 61 6e 64 20 69 73 20 | 61 20 73 65 74 20 6f 66 | and is |a set of|
|00000370| 20 73 68 61 72 65 64 20 | 6c 69 62 72 61 72 69 65 | shared |librarie|
|00000380| 73 2e 20 54 68 65 20 53 | 4e 4d 50 20 4d 61 6e 61 |s. The S|NMP Mana|
|00000390| 67 65 72 20 73 68 61 72 | 65 64 20 6c 69 62 72 61 |ger shar|ed libra|
|000003a0| 72 79 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |ry conta|ins the |
|000003b0| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 6f |implemen|tation o|
|000003c0| 66 20 74 68 65 20 62 61 | 73 65 20 63 6c 61 73 73 |f the ba|se class|
|000003d0| 20 66 6f 72 20 61 6e 20 | 53 4e 4d 50 20 54 72 61 | for an |SNMP Tra|
|000003e0| 6e 73 70 6f 72 74 2e 20 | 59 6f 75 72 20 74 72 61 |nsport. |Your tra|
|000003f0| 6e 73 70 6f 72 74 20 6d | 75 73 74 20 62 65 20 61 |nsport m|ust be a|
|00000400| 20 73 75 62 63 6c 61 73 | 73 20 6f 66 20 74 68 69 | subclas|s of thi|
|00000410| 73 20 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |s SNMP T|ransport|
|00000420| 20 63 6c 61 73 73 2e 20 | 46 6f 72 20 6d 6f 72 65 | class. |For more|
|00000430| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00000440| 4d 61 63 53 4e 4d 50 20 | 61 6e 64 20 74 68 65 20 |MacSNMP |and the |
|00000450| 53 68 61 72 65 64 20 4c | 69 62 72 61 72 79 20 4d |Shared L|ibrary M|
|00000460| 61 6e 61 67 65 72 20 73 | 65 65 20 74 68 65 20 45 |anager s|ee the E|
|00000470| 2e 54 2e 4f 2e 20 43 44 | 20 52 4f 4d 2e 0d 54 68 |.T.O. CD| ROM..Th|
|00000480| 69 73 20 54 65 63 68 20 | 4e 6f 74 65 20 70 72 6f |is Tech |Note pro|
|00000490| 76 69 64 65 73 20 73 6f | 6d 65 20 61 64 64 69 74 |vides so|me addit|
|000004a0| 69 6f 6e 61 6c 20 69 6e | 66 6f 72 6d 61 74 69 6f |ional in|formatio|
|000004b0| 6e 20 6e 65 65 64 65 64 | 20 74 6f 20 63 6f 6e 73 |n needed| to cons|
|000004c0| 74 72 75 63 74 20 61 6e | 20 53 4e 4d 50 20 54 72 |truct an| SNMP Tr|
|000004d0| 61 6e 73 70 6f 72 74 20 | 66 6f 72 20 61 20 70 61 |ansport |for a pa|
|000004e0| 72 74 69 63 75 6c 61 72 | 20 6e 65 74 77 6f 72 6b |rticular| network|
|000004f0| 20 73 74 61 63 6b 2e 20 | 41 6e 20 53 4e 4d 50 20 | stack. |An SNMP |
|00000500| 54 72 61 6e 73 70 6f 72 | 74 20 69 73 20 72 65 71 |Transpor|t is req|
|00000510| 75 69 72 65 64 20 74 6f | 20 6b 6e 6f 77 20 61 62 |uired to| know ab|
|00000520| 6f 75 74 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 73 |out all |of the s|
|00000530| 70 65 63 69 66 69 63 20 | 69 64 69 6f 73 79 6e 63 |pecific |idiosync|
|00000540| 72 61 73 69 65 73 20 6f | 66 20 53 4e 4d 50 20 66 |rasies o|f SNMP f|
|00000550| 6f 72 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |or a par|ticular |
|00000560| 6e 65 74 77 6f 72 6b 20 | 73 74 61 63 6b 2e 20 53 |network |stack. S|
|00000570| 4e 4d 50 20 77 61 73 20 | 6f 72 69 67 69 6e 61 6c |NMP was |original|
|00000580| 6c 79 20 64 65 66 69 6e | 65 64 20 74 6f 20 72 75 |ly defin|ed to ru|
|00000590| 6e 20 6f 76 65 72 20 74 | 68 65 20 54 43 50 20 73 |n over t|he TCP s|
|000005a0| 74 61 63 6b 20 75 73 69 | 6e 67 20 55 44 50 2e 20 |tack usi|ng UDP. |
|000005b0| 54 68 65 20 49 45 54 46 | 20 28 49 6e 74 65 72 6e |The IETF| (Intern|
|000005c0| 65 74 20 45 6e 67 69 6e | 65 65 72 69 6e 67 20 54 |et Engin|eering T|
|000005d0| 61 73 6b 20 46 6f 72 63 | 65 29 20 68 61 73 20 61 |ask Forc|e) has a|
|000005e0| 6c 73 6f 20 64 65 66 69 | 6e 65 64 20 68 6f 77 20 |lso defi|ned how |
|000005f0| 74 6f 20 72 75 6e 20 53 | 4e 4d 50 20 6f 76 65 72 |to run S|NMP over|
|00000600| 20 74 68 72 65 65 20 6f | 74 68 65 72 20 6e 65 74 | three o|ther net|
|00000610| 77 6f 72 6b 20 73 74 61 | 63 6b 73 3a 20 41 70 70 |work sta|cks: App|
|00000620| 6c 65 54 61 6c 6b 2c 20 | 49 50 58 2c 20 61 6e 64 |leTalk, |IPX, and|
|00000630| 20 4f 53 49 2e 20 54 68 | 65 73 65 20 6d 65 74 68 | OSI. Th|ese meth|
|00000640| 6f 64 73 20 61 72 65 20 | 64 6f 63 75 6d 65 6e 74 |ods are |document|
|00000650| 65 64 20 62 79 20 74 68 | 65 20 49 45 54 46 20 70 |ed by th|e IETF p|
|00000660| 72 6f 70 6f 73 65 64 20 | 73 74 61 6e 64 61 72 64 |roposed |standard|
|00000670| 73 3a 20 52 46 43 20 31 | 34 31 39 d1 53 4e 4d 50 |s: RFC 1|419.SNMP|
|00000680| 20 6f 76 65 72 20 41 70 | 70 6c 65 54 61 6c 6b 2c | over Ap|pleTalk,|
|00000690| 20 52 46 43 20 31 34 32 | 30 d1 53 4e 4d 50 20 6f | RFC 142|0.SNMP o|
|000006a0| 76 65 72 20 49 50 58 2c | 20 61 6e 64 20 52 46 43 |ver IPX,| and RFC|
|000006b0| 20 31 34 31 38 d1 53 4e | 4d 50 20 6f 76 65 72 20 | 1418.SN|MP over |
|000006c0| 4f 53 49 2e 20 54 68 65 | 72 65 20 69 73 20 61 6c |OSI. The|re is al|
|000006d0| 73 6f 20 61 6e 20 69 6e | 66 6f 72 6d 61 74 69 6f |so an in|formatio|
|000006e0| 6e 61 6c 20 52 46 43 20 | 64 72 61 66 74 20 74 68 |nal RFC |draft th|
|000006f0| 61 74 20 64 65 73 63 72 | 69 62 65 73 20 77 68 61 |at descr|ibes wha|
|00000700| 74 20 6d 75 73 74 20 62 | 65 20 64 65 66 69 6e 65 |t must b|e define|
|00000710| 64 20 74 6f 20 61 6c 6c | 6f 77 20 53 4e 4d 50 20 |d to all|ow SNMP |
|00000720| 74 6f 20 72 75 6e 20 6f | 76 65 72 20 61 6e 79 20 |to run o|ver any |
|00000730| 70 61 72 74 69 63 75 6c | 61 72 20 6e 65 74 77 6f |particul|ar netwo|
|00000740| 72 6b 20 73 74 61 63 6b | 2e 0d 41 70 70 6c 65 20 |rk stack|..Apple |
|00000750| 70 72 6f 76 69 64 65 73 | 20 53 4e 4d 50 20 74 72 |provides| SNMP tr|
|00000760| 61 6e 73 70 6f 72 74 73 | 20 74 68 61 74 20 73 75 |ansports| that su|
|00000770| 70 70 6f 72 74 20 74 68 | 65 20 54 43 50 20 73 74 |pport th|e TCP st|
|00000780| 61 63 6b 20 61 6e 64 20 | 74 68 65 20 41 70 70 6c |ack and |the Appl|
|00000790| 65 54 61 6c 6b 20 73 74 | 61 63 6b 2e 20 54 68 65 |eTalk st|ack. The|
|000007a0| 20 54 43 50 20 53 4e 4d | 50 20 54 72 61 6e 73 70 | TCP SNM|P Transp|
|000007b0| 6f 72 74 20 70 72 6f 76 | 69 64 65 73 20 6b 6e 6f |ort prov|ides kno|
|000007c0| 77 6c 65 64 67 65 20 6f | 66 20 49 50 20 61 64 64 |wledge o|f IP add|
|000007d0| 72 65 73 73 65 73 2c 20 | 6c 69 73 74 65 6e 73 20 |resses, |listens |
|000007e0| 6f 6e 20 74 68 65 20 77 | 65 6c 6c 2d 6b 6e 6f 77 |on the w|ell-know|
|000007f0| 6e 20 53 4e 4d 50 20 73 | 6f 63 6b 65 74 73 2c 20 |n SNMP s|ockets, |
|00000800| 73 65 6e 64 73 20 53 4e | 4d 50 20 70 61 63 6b 65 |sends SN|MP packe|
|00000810| 74 73 20 6f 6e 20 55 44 | 50 2c 20 61 6e 64 20 72 |ts on UD|P, and r|
|00000820| 65 73 6f 6c 76 65 73 20 | 61 64 64 72 65 73 73 65 |esolves |addresse|
|00000830| 73 20 69 6e 20 64 6f 74 | 74 65 64 20 6e 6f 74 61 |s in dot|ted nota|
|00000840| 74 69 6f 6e 20 69 6e 74 | 6f 20 49 50 20 61 64 64 |tion int|o IP add|
|00000850| 72 65 73 73 65 73 20 66 | 6f 72 20 73 65 6e 64 69 |resses f|or sendi|
|00000860| 6e 67 20 54 72 61 70 73 | 2e 20 28 41 6e 20 53 4e |ng Traps|. (An SN|
|00000870| 4d 50 20 54 72 61 70 20 | 69 73 20 74 68 65 20 6d |MP Trap |is the m|
|00000880| 65 74 68 6f 64 20 74 68 | 61 74 20 53 4e 4d 50 20 |ethod th|at SNMP |
|00000890| 65 6e 74 69 74 69 65 73 | 20 75 73 65 20 74 6f 20 |entities| use to |
|000008a0| 73 65 6e 64 20 75 6e 73 | 6f 6c 69 63 69 74 65 64 |send uns|olicited|
|000008b0| 20 77 61 72 6e 69 6e 67 | 20 6d 65 73 73 61 67 65 | warning| message|
|000008c0| 73 20 74 6f 20 65 61 63 | 68 20 6f 74 68 65 72 20 |s to eac|h other |
|000008d0| 61 6e 64 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 62 |and shou|ld not b|
|000008e0| 65 20 63 6f 6e 66 75 73 | 65 64 20 77 69 74 68 20 |e confus|ed with |
|000008f0| 61 20 4d 61 63 69 6e 74 | 6f 73 68 20 4f 70 65 72 |a Macint|osh Oper|
|00000900| 61 74 69 6e 67 20 53 79 | 73 74 65 6d 20 54 72 61 |ating Sy|stem Tra|
|00000910| 70 2e 29 20 54 68 65 20 | 41 70 70 6c 65 54 61 6c |p.) The |AppleTal|
|00000920| 6b 20 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |k SNMP T|ransport|
|00000930| 20 6c 69 6b 65 77 69 73 | 65 20 70 72 6f 76 69 64 | likewis|e provid|
|00000940| 65 73 20 6b 6e 6f 77 6c | 65 64 67 65 20 6f 66 20 |es knowl|edge of |
|00000950| 41 70 70 6c 65 54 61 6c | 6b 20 61 64 64 72 65 73 |AppleTal|k addres|
|00000960| 73 65 73 2c 20 6c 69 73 | 74 65 6e 73 20 6f 6e 20 |ses, lis|tens on |
|00000970| 74 68 65 20 77 65 6c 6c | 2d 6b 6e 6f 77 6e 20 53 |the well|-known S|
|00000980| 4e 4d 50 20 73 6f 63 6b | 65 74 73 2c 20 73 65 6e |NMP sock|ets, sen|
|00000990| 64 73 20 53 4e 4d 50 20 | 70 61 63 6b 65 74 73 20 |ds SNMP |packets |
|000009a0| 6f 6e 20 44 44 50 2c 20 | 61 6e 64 20 72 65 73 6f |on DDP, |and reso|
|000009b0| 6c 76 65 73 20 4e 42 50 | 20 28 4e 61 6d 65 20 42 |lves NBP| (Name B|
|000009c0| 69 6e 64 69 6e 67 20 50 | 72 6f 74 6f 63 6f 6c 29 |inding P|rotocol)|
|000009d0| 20 6e 61 6d 65 73 20 69 | 6e 74 6f 20 41 70 70 6c | names i|nto Appl|
|000009e0| 65 54 61 6c 6b 20 61 64 | 64 72 65 73 73 65 73 20 |eTalk ad|dresses |
|000009f0| 66 6f 72 20 73 65 6e 64 | 69 6e 67 20 54 72 61 70 |for send|ing Trap|
|00000a00| 73 2e 20 53 69 6d 69 6c | 61 72 6c 79 2c 20 61 20 |s. Simil|arly, a |
|00000a10| 6e 65 77 20 53 4e 4d 50 | 20 54 72 61 6e 73 70 6f |new SNMP| Transpo|
|00000a20| 72 74 20 77 6f 75 6c 64 | 20 68 61 76 65 20 74 6f |rt would| have to|
|00000a30| 20 70 72 6f 76 69 64 65 | 20 74 68 65 73 65 20 73 | provide| these s|
|00000a40| 61 6d 65 20 73 65 72 76 | 69 63 65 73 3a 20 75 6e |ame serv|ices: un|
|00000a50| 64 65 72 73 74 61 6e 64 | 69 6e 67 20 74 68 65 20 |derstand|ing the |
|00000a60| 6e 65 77 20 6e 65 74 77 | 6f 72 6b 20 61 64 64 72 |new netw|ork addr|
|00000a70| 65 73 73 65 73 2c 20 6c | 69 73 74 65 6e 69 6e 67 |esses, l|istening|
|00000a80| 20 66 6f 72 20 53 4e 4d | 50 20 70 61 63 6b 65 74 | for SNM|P packet|
|00000a90| 73 2c 20 73 65 6e 64 69 | 6e 67 20 53 4e 4d 50 20 |s, sendi|ng SNMP |
|00000aa0| 70 61 63 6b 65 74 73 2c | 20 61 6e 64 20 72 65 73 |packets,| and res|
|00000ab0| 6f 6c 76 69 6e 67 20 73 | 74 6f 72 65 64 20 63 6f |olving s|tored co|
|00000ac0| 6e 73 6f 6c 65 20 61 64 | 64 72 65 73 73 65 73 20 |nsole ad|dresses |
|00000ad0| 74 6f 20 6e 65 74 77 6f | 72 6b 20 61 64 64 72 65 |to netwo|rk addre|
|00000ae0| 73 73 65 73 20 66 6f 72 | 20 73 65 6e 64 69 6e 67 |sses for| sending|
|00000af0| 20 54 72 61 70 73 2e 0d | 53 4e 4d 50 20 54 72 61 | Traps..|SNMP Tra|
|00000b00| 6e 73 70 6f 72 74 73 0d | 46 69 67 75 72 65 20 31 |nsports.|Figure 1|
|00000b10| d1 41 6e 20 53 4e 4d 50 | 20 54 72 61 6e 73 70 6f |.An SNMP| Transpo|
|00000b20| 72 74 20 70 72 6f 76 69 | 64 65 73 20 74 68 65 20 |rt provi|des the |
|00000b30| 69 6e 74 65 72 66 61 63 | 65 20 62 65 74 77 65 65 |interfac|e betwee|
|00000b40| 6e 20 74 68 65 20 53 4e | 4d 50 20 4d 61 6e 61 67 |n the SN|MP Manag|
|00000b50| 65 72 20 61 6e 64 20 61 | 20 70 61 72 74 69 63 75 |er and a| particu|
|00000b60| 6c 61 72 20 6e 65 74 77 | 6f 72 6b 20 73 74 61 63 |lar netw|ork stac|
|00000b70| 6b 2e 0d 43 72 65 61 74 | 69 6e 67 20 61 6e 20 53 |k..Creat|ing an S|
|00000b80| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 0d 54 68 |NMP Tran|sport.Th|
|00000b90| 65 20 66 69 6c 65 20 54 | 72 61 6e 73 70 6f 72 74 |e file T|ransport|
|00000ba0| 2e 68 20 64 65 66 69 6e | 65 73 20 74 68 65 20 53 |.h defin|es the S|
|00000bb0| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 20 63 6c |NMP Tran|sport cl|
|00000bc0| 61 73 73 2e 20 54 6f 20 | 63 72 65 61 74 65 20 61 |ass. To |create a|
|00000bd0| 6e 20 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |n SNMP T|ransport|
|00000be0| 2c 20 79 6f 75 20 6d 75 | 73 74 20 73 75 62 63 6c |, you mu|st subcl|
|00000bf0| 61 73 73 20 74 68 65 20 | 53 4e 4d 50 20 54 72 61 |ass the |SNMP Tra|
|00000c00| 6e 73 70 6f 72 74 20 63 | 6c 61 73 73 2e 20 54 68 |nsport c|lass. Th|
|00000c10| 65 20 53 68 61 72 65 64 | 20 4c 69 62 72 61 72 79 |e Shared| Library|
|00000c20| 20 4d 61 6e 61 67 65 72 | 20 61 6c 6c 6f 77 73 20 | Manager| allows |
|00000c30| 61 20 72 75 6e 2d 74 69 | 6d 65 20 6c 69 6e 6b 20 |a run-ti|me link |
|00000c40| 6f 66 20 79 6f 75 72 20 | 53 4e 4d 50 20 54 72 61 |of your |SNMP Tra|
|00000c50| 6e 73 70 6f 72 74 20 73 | 75 62 63 6c 61 73 73 20 |nsport s|ubclass |
|00000c60| 77 69 74 68 20 74 68 65 | 20 62 61 73 65 20 6f 62 |with the| base ob|
|00000c70| 6a 65 63 74 20 53 4e 4d | 50 20 54 72 61 6e 73 70 |ject SNM|P Transp|
|00000c80| 6f 72 74 20 70 72 6f 76 | 69 64 65 64 20 69 6e 20 |ort prov|ided in |
|00000c90| 74 68 65 20 53 4e 4d 50 | 20 4d 61 6e 61 67 65 72 |the SNMP| Manager|
|00000ca0| 20 73 68 61 72 65 64 20 | 6c 69 62 72 61 72 79 2e | shared |library.|
|00000cb0| 20 54 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 | The def|inition |
|00000cc0| 6f 66 20 74 68 65 20 53 | 4e 4d 50 20 54 72 61 6e |of the S|NMP Tran|
|00000cd0| 73 70 6f 72 74 20 6f 62 | 6a 65 63 74 20 69 73 20 |sport ob|ject is |
|00000ce0| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0d 2f 2a 2a 2a |as follo|ws:./***|
|00000cf0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d30| 2a 2a 2a 0d 2a 2a 20 43 | 6c 61 73 73 20 54 53 4e |***.** C|lass TSN|
|00000d40| 4d 50 54 72 61 6e 73 70 | 6f 72 74 20 0d 2a 2a 2a |MPTransp|ort .***|
|00000d50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000d90| 2a 2a 2a 2a 2f 0d 23 64 | 65 66 69 6e 65 20 6b 54 |****/.#d|efine kT|
|00000da0| 53 4e 4d 50 54 72 61 6e | 73 70 6f 72 74 49 44 20 |SNMPTran|sportID |
|00000db0| 09 22 73 6e 6d 70 3a 6d | 67 72 24 54 53 4e 4d 50 |."snmp:m|gr$TSNMP|
|00000dc0| 54 72 61 6e 73 22 0d 23 | 64 65 66 69 6e 65 20 6b |Trans".#|define k|
|00000dd0| 4c 49 42 5f 54 72 61 6e | 73 49 44 20 20 09 22 73 |LIB_Tran|sID ."s|
|00000de0| 6e 6d 70 3a 74 72 61 6e | 73 24 22 09 2f 2f 20 4c |nmp:tran|s$".// L|
|00000df0| 69 62 72 61 72 79 20 49 | 44 20 66 6f 72 20 61 6e |ibrary I|D for an|
|00000e00| 20 53 4e 4d 50 20 54 72 | 61 6e 73 70 6f 72 74 20 | SNMP Tr|ansport |
|00000e10| 0d 63 6c 61 73 73 20 54 | 53 4e 4d 50 54 72 61 6e |.class T|SNMPTran|
|00000e20| 73 70 6f 72 74 20 3a 20 | 70 75 62 6c 69 63 20 54 |sport : |public T|
|00000e30| 44 79 6e 61 6d 69 63 20 | 0d 7b 0d 70 75 62 6c 69 |Dynamic |.{.publi|
|00000e40| 63 3a 0d 09 0d 09 09 09 | 09 54 53 4e 4d 50 54 72 |c:......|.TSNMPTr|
|00000e50| 61 6e 73 70 6f 72 74 28 | 29 3b 0d 09 76 69 72 74 |ansport(|);..virt|
|00000e60| 75 61 6c 09 09 7e 54 53 | 4e 4d 50 54 72 61 6e 73 |ual..~TS|NMPTrans|
|00000e70| 70 6f 72 74 28 29 3b 0d | 09 76 69 72 74 75 61 6c |port();.|.virtual|
|00000e80| 20 42 6f 6f 6c 65 61 6e | 09 49 73 56 61 6c 69 64 | Boolean|.IsValid|
|00000e90| 28 29 20 63 6f 6e 73 74 | 3b 09 09 2f 2f 20 72 65 |() const|;..// re|
|00000ea0| 74 75 72 6e 73 20 76 61 | 6c 69 64 20 6f 72 20 6e |turns va|lid or n|
|00000eb0| 6f 74 09 0d 09 76 69 72 | 74 75 61 6c 20 4f 53 45 |ot...vir|tual OSE|
|00000ec0| 72 72 20 09 49 6e 69 74 | 53 4e 4d 50 54 72 61 6e |rr .Init|SNMPTran|
|00000ed0| 73 70 6f 72 74 28 09 0d | 09 09 54 72 61 6e 73 70 |sport(..|..Transp|
|00000ee0| 6f 72 74 54 61 67 09 09 | 61 54 61 67 2c 0d 09 09 |ortTag..|aTag,...|
|00000ef0| 54 49 41 64 64 72 65 73 | 73 50 74 72 09 09 61 54 |TIAddres|sPtr..aT|
|00000f00| 72 61 70 53 6f 63 6b 65 | 74 50 74 72 2c 0d 09 09 |rapSocke|tPtr,...|
|00000f10| 54 49 41 64 64 72 65 73 | 73 50 74 72 09 09 61 52 |TIAddres|sPtr..aR|
|00000f20| 65 71 53 6f 63 6b 65 74 | 50 74 72 2c 0d 09 09 42 |eqSocket|Ptr,...B|
|00000f30| 6f 6f 6c 65 61 6e 09 09 | 61 68 61 6e 64 6c 65 73 |oolean..|ahandles|
|00000f40| 72 65 73 6f 6c 75 74 69 | 6f 6e 2c 0d 09 09 73 68 |resoluti|on,...sh|
|00000f50| 6f 72 74 09 09 09 61 57 | 72 69 74 65 62 75 66 73 |ort...aW|ritebufs|
|00000f60| 69 7a 65 2c 0d 09 09 54 | 72 61 6e 73 70 6f 72 74 |ize,...T|ransport|
|00000f70| 52 57 50 72 6f 63 50 74 | 72 09 61 57 72 69 74 65 |RWProcPt|r.aWrite|
|00000f80| 50 72 6f 63 50 74 72 2c | 0d 09 09 73 68 6f 72 74 |ProcPtr,|...short|
|00000f90| 09 09 09 61 4e 75 6d 6f | 66 52 65 61 64 73 2c 0d |...aNumo|fReads,.|
|00000fa0| 09 09 73 68 6f 72 74 09 | 09 09 61 52 65 61 64 54 |..short.|..aReadT|
|00000fb0| 49 41 64 64 72 53 52 43 | 6d 61 78 2c 0d 09 09 73 |IAddrSRC|max,...s|
|00000fc0| 68 6f 72 74 09 09 09 61 | 52 65 61 64 54 49 41 64 |hort...a|ReadTIAd|
|00000fd0| 64 72 44 45 53 54 6d 61 | 78 2c 0d 09 09 73 68 6f |drDESTma|x,...sho|
|00000fe0| 72 74 09 09 09 61 52 65 | 61 64 62 75 66 73 69 7a |rt...aRe|adbufsiz|
|00000ff0| 65 2c 0d 09 09 54 72 61 | 6e 73 70 6f 72 74 52 57 |e,...Tra|nsportRW|
|00001000| 50 72 6f 63 50 74 72 09 | 61 52 65 61 64 50 72 6f |ProcPtr.|aReadPro|
|00001010| 63 50 74 72 29 3b 0d 09 | 09 0d 09 76 69 72 74 75 |cPtr);..|...virtu|
|00001020| 61 6c 20 76 6f 69 64 09 | 09 53 4e 4d 50 57 72 69 |al void.|.SNMPWri|
|00001030| 74 65 44 6f 6e 65 28 53 | 4e 4d 50 54 72 61 6e 73 |teDone(S|NMPTrans|
|00001040| 70 6f 72 74 42 6c 6f 63 | 6b 50 74 72 20 73 6e 6d |portBloc|kPtr snm|
|00001050| 70 50 74 72 29 3b 0d 09 | 76 69 72 74 75 61 6c 20 |pPtr);..|virtual |
|00001060| 76 6f 69 64 09 09 53 4e | 4d 50 52 65 61 64 44 6f |void..SN|MPReadDo|
|00001070| 6e 65 28 53 4e 4d 50 54 | 72 61 6e 73 70 6f 72 74 |ne(SNMPT|ransport|
|00001080| 42 6c 6f 63 6b 50 74 72 | 20 73 6e 6d 70 50 74 72 |BlockPtr| snmpPtr|
|00001090| 29 3b 0d 09 0d 09 54 53 | 4e 4d 50 4d 61 6e 61 67 |);....TS|NMPManag|
|000010a0| 65 72 50 72 76 2a 09 66 | 53 4e 4d 50 4d 61 6e 61 |erPrv*.f|SNMPMana|
|000010b0| 67 65 72 50 74 72 3b 0d | 09 09 09 09 0d 66 72 69 |gerPtr;.|.....fri|
|000010c0| 65 6e 64 20 54 53 4e 4d | 50 4d 61 6e 61 67 65 72 |end TSNM|PManager|
|000010d0| 50 72 76 3b 0d 70 72 6f | 74 65 63 74 65 64 3a 0d |Prv;.pro|tected:.|
|000010e0| 09 09 42 6f 6f 6c 65 61 | 6e 09 66 56 61 6c 69 64 |..Boolea|n.fValid|
|000010f0| 3b 0d 09 09 42 6f 6f 6c | 65 61 6e 09 66 68 61 6e |;...Bool|ean.fhan|
|00001100| 64 6c 65 73 72 65 73 6f | 6c 75 74 69 6f 6e 3b 0d |dlesreso|lution;.|
|00001110| 09 09 73 68 6f 72 74 09 | 09 66 4e 75 6d 6f 66 52 |..short.|.fNumofR|
|00001120| 65 61 64 73 3b 0d 09 09 | 73 68 6f 72 74 09 09 66 |eads;...|short..f|
|00001130| 52 65 61 64 54 49 41 64 | 64 72 53 52 43 6d 61 78 |ReadTIAd|drSRCmax|
|00001140| 3b 0d 09 09 73 68 6f 72 | 74 09 09 66 52 65 61 64 |;...shor|t..fRead|
|00001150| 54 49 41 64 64 72 44 45 | 53 54 6d 61 78 3b 0d 09 |TIAddrDE|STmax;..|
|00001160| 09 73 68 6f 72 74 09 09 | 66 52 65 61 64 62 75 66 |.short..|fReadbuf|
|00001170| 73 69 7a 65 3b 0d 09 09 | 73 68 6f 72 74 09 09 66 |size;...|short..f|
|00001180| 57 72 69 74 65 62 75 66 | 73 69 7a 65 3b 0d 70 72 |Writebuf|size;.pr|
|00001190| 69 76 61 74 65 3a 0d 09 | 09 0d 09 09 54 72 61 6e |ivate:..|....Tran|
|000011a0| 73 70 6f 72 74 54 61 67 | 09 09 66 54 61 67 3b 0d |sportTag|..fTag;.|
|000011b0| 09 09 54 49 41 64 64 72 | 65 73 73 50 74 72 09 09 |..TIAddr|essPtr..|
|000011c0| 66 54 72 61 70 53 6f 63 | 6b 65 74 50 74 72 3b 0d |fTrapSoc|ketPtr;.|
|000011d0| 09 09 54 49 41 64 64 72 | 65 73 73 50 74 72 09 09 |..TIAddr|essPtr..|
|000011e0| 66 52 65 71 53 6f 63 6b | 65 74 50 74 72 3b 0d 09 |fReqSock|etPtr;..|
|000011f0| 09 54 72 61 6e 73 70 6f | 72 74 52 57 50 72 6f 63 |.Transpo|rtRWProc|
|00001200| 50 74 72 09 66 57 72 69 | 74 65 50 72 6f 63 50 74 |Ptr.fWri|teProcPt|
|00001210| 72 3b 0d 09 09 54 72 61 | 6e 73 70 6f 72 74 52 57 |r;...Tra|nsportRW|
|00001220| 50 72 6f 63 50 74 72 09 | 66 52 65 61 64 50 72 6f |ProcPtr.|fReadPro|
|00001230| 63 50 74 72 3b 0d 7d 3b | 0d 54 6f 20 73 74 61 72 |cPtr;.};|.To star|
|00001240| 74 20 61 6e 20 53 4e 4d | 50 20 54 72 61 6e 73 70 |t an SNM|P Transp|
|00001250| 6f 72 74 20 79 6f 75 20 | 6d 75 73 74 20 69 6e 73 |ort you |must ins|
|00001260| 74 61 6e 74 69 61 74 65 | 20 69 74 2e 20 46 6f 72 |tantiate| it. For|
|00001270| 20 74 68 65 20 41 70 70 | 6c 65 54 61 6c 6b 20 53 | the App|leTalk S|
|00001280| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 2c 20 77 |NMP Tran|sport, w|
|00001290| 65 20 69 6e 73 74 61 6c | 6c 20 61 20 70 72 6f 63 |e instal|l a proc|
|000012a0| 65 73 73 20 6f 6e 20 74 | 68 65 20 41 70 70 6c 65 |ess on t|he Apple|
|000012b0| 54 61 6c 6b 20 74 72 61 | 6e 73 69 74 69 6f 6e 20 |Talk tra|nsition |
|000012c0| 71 75 65 75 65 20 74 68 | 61 74 20 74 65 6c 6c 73 |queue th|at tells|
|000012d0| 20 75 73 20 77 68 65 6e | 20 41 70 70 6c 65 54 61 | us when| AppleTa|
|000012e0| 6c 6b 20 69 73 20 63 6f | 6d 69 6e 67 20 75 70 20 |lk is co|ming up |
|000012f0| 6f 72 20 67 6f 69 6e 67 | 20 64 6f 77 6e 20 61 6e |or going| down an|
|00001300| 64 20 69 6e 73 74 61 6e | 74 69 61 74 65 20 6f 72 |d instan|tiate or|
|00001310| 20 64 65 73 74 72 6f 79 | 20 74 68 65 20 54 72 61 | destroy| the Tra|
|00001320| 6e 73 70 6f 72 74 20 61 | 73 20 61 70 70 72 6f 70 |nsport a|s approp|
|00001330| 72 69 61 74 65 2e 20 46 | 6f 72 20 74 68 65 20 54 |riate. F|or the T|
|00001340| 43 50 20 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |CP SNMP |Transpor|
|00001350| 74 2c 20 61 6e 20 49 4e | 49 54 33 31 20 69 6e 73 |t, an IN|IT31 ins|
|00001360| 74 61 6e 74 69 61 74 65 | 73 20 74 68 65 20 54 72 |tantiate|s the Tr|
|00001370| 61 6e 73 70 6f 72 74 20 | 61 6e 64 20 69 74 20 69 |ansport |and it i|
|00001380| 73 20 6e 65 76 65 72 20 | 64 65 73 74 72 6f 79 65 |s never |destroye|
|00001390| 64 2e 20 46 6f 72 20 79 | 6f 75 72 20 54 72 61 6e |d. For y|our Tran|
|000013a0| 73 70 6f 72 74 20 79 6f | 75 20 6d 75 73 74 20 70 |sport yo|u must p|
|000013b0| 72 6f 76 69 64 65 20 74 | 68 65 20 63 6f 64 65 20 |rovide t|he code |
|000013c0| 74 68 61 74 20 69 6e 73 | 74 61 6e 74 69 61 74 65 |that ins|tantiate|
|000013d0| 73 20 61 6e 64 20 64 65 | 73 74 72 6f 79 73 20 79 |s and de|stroys y|
|000013e0| 6f 75 72 20 54 72 61 6e | 73 70 6f 72 74 2e 0d 57 |our Tran|sport..W|
|000013f0| 68 65 6e 20 61 20 54 72 | 61 6e 73 70 6f 72 74 20 |hen a Tr|ansport |
|00001400| 69 73 20 69 6e 73 74 61 | 6e 74 69 61 74 65 64 20 |is insta|ntiated |
|00001410| 74 68 65 20 62 61 73 65 | 20 63 6c 61 73 73 20 63 |the base| class c|
|00001420| 6f 6e 73 74 72 75 63 74 | 6f 72 20 69 73 20 63 61 |onstruct|or is ca|
|00001430| 6c 6c 65 64 20 66 69 72 | 73 74 2e 20 54 68 65 20 |lled fir|st. The |
|00001440| 62 61 73 65 20 63 6c 61 | 73 73 20 63 6f 6e 73 74 |base cla|ss const|
|00001450| 72 75 63 74 6f 72 20 66 | 69 6c 6c 73 20 69 6e 20 |ructor f|ills in |
|00001460| 74 68 65 20 66 53 4e 4d | 50 4d 61 6e 61 67 65 72 |the fSNM|PManager|
|00001470| 50 74 72 20 66 69 65 6c | 64 20 77 69 74 68 20 61 |Ptr fiel|d with a|
|00001480| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 61 20 63 6c | pointer| to a cl|
|00001490| 61 73 73 20 54 53 4e 4d | 50 4d 61 6e 61 67 65 72 |ass TSNM|PManager|
|000014a0| 50 72 76 2c 20 77 68 69 | 63 68 20 63 61 6e 20 62 |Prv, whi|ch can b|
|000014b0| 65 20 63 61 73 74 20 74 | 6f 20 61 20 70 6f 69 6e |e cast t|o a poin|
|000014c0| 74 65 72 20 74 6f 20 74 | 68 65 20 63 6c 61 73 73 |ter to t|he class|
|000014d0| 20 54 53 4e 4d 50 4d 61 | 6e 61 67 65 72 20 64 65 | TSNMPMa|nager de|
|000014e0| 66 69 6e 65 64 20 69 6e | 20 54 53 4e 4d 50 2e 68 |fined in| TSNMP.h|
|000014f0| 2e 20 54 68 69 73 20 70 | 6f 69 6e 74 65 72 20 63 |. This p|ointer c|
|00001500| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 61 63 |an be us|ed to ac|
|00001510| 63 65 73 73 20 74 68 65 | 20 6d 65 6d 62 65 72 73 |cess the| members|
|00001520| 20 6f 66 20 74 68 65 20 | 54 53 4e 4d 50 4d 61 6e | of the |TSNMPMan|
|00001530| 61 67 65 72 20 63 6c 61 | 73 73 2e 20 54 68 65 20 |ager cla|ss. The |
|00001540| 63 6f 6e 73 74 72 75 63 | 74 6f 72 20 61 6c 73 6f |construc|tor also|
|00001550| 20 61 64 64 73 20 61 20 | 70 6f 69 6e 74 65 72 20 | adds a |pointer |
|00001560| 74 6f 20 79 6f 75 72 20 | 53 4e 4d 50 20 54 72 61 |to your |SNMP Tra|
|00001570| 6e 73 70 6f 72 74 20 6f | 62 6a 65 63 74 20 74 6f |nsport o|bject to|
|00001580| 20 61 20 71 75 65 75 65 | 20 6f 66 20 74 72 61 6e | a queue| of tran|
|00001590| 73 70 6f 72 74 73 20 73 | 6f 20 74 68 61 74 20 69 |sports s|o that i|
|000015a0| 74 20 63 61 6e 20 66 69 | 6e 64 20 79 6f 75 20 6c |t can fi|nd you l|
|000015b0| 61 74 65 72 2c 20 61 6e | 64 20 69 66 20 65 76 65 |ater, an|d if eve|
|000015c0| 72 79 74 68 69 6e 67 20 | 77 6f 72 6b 65 64 2c 20 |rything |worked, |
|000015d0| 73 65 74 73 20 74 68 65 | 20 66 56 61 6c 69 64 20 |sets the| fValid |
|000015e0| 66 69 65 6c 64 20 74 6f | 20 74 72 75 65 2e 20 59 |field to| true. Y|
|000015f0| 6f 75 72 20 63 6f 6e 73 | 74 72 75 63 74 6f 72 20 |our cons|tructor |
|00001600| 69 73 20 74 68 65 6e 20 | 63 61 6c 6c 65 64 2e 20 |is then |called. |
|00001610| 49 66 20 74 68 65 20 66 | 56 61 6c 69 64 20 66 69 |If the f|Valid fi|
|00001620| 65 6c 64 20 69 73 20 6e | 6f 74 20 73 65 74 20 74 |eld is n|ot set t|
|00001630| 6f 20 74 72 75 65 20 6f | 6e 20 74 68 65 20 65 6e |o true o|n the en|
|00001640| 74 72 61 6e 63 65 20 74 | 6f 20 79 6f 75 72 20 63 |trance t|o your c|
|00001650| 6f 6e 73 74 72 75 63 74 | 6f 72 2c 20 79 6f 75 20 |onstruct|or, you |
|00001660| 73 68 6f 75 6c 64 20 62 | 61 69 6c 20 6f 75 74 20 |should b|ail out |
|00001670| 6f 66 20 74 68 65 20 63 | 6f 6e 73 74 72 75 63 74 |of the c|onstruct|
|00001680| 6f 72 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 2e 20 |or immed|iately. |
|00001690| 49 66 20 79 6f 75 72 20 | 63 6f 6e 73 74 72 75 63 |If your |construc|
|000016a0| 74 6f 72 20 66 61 69 6c | 73 20 66 6f 72 20 73 6f |tor fail|s for so|
|000016b0| 6d 65 20 72 65 61 73 6f | 6e 2c 20 79 6f 75 20 73 |me reaso|n, you s|
|000016c0| 68 6f 75 6c 64 20 73 65 | 74 20 74 68 65 20 66 56 |hould se|t the fV|
|000016d0| 61 6c 69 64 20 66 69 65 | 6c 64 20 74 6f 20 66 61 |alid fie|ld to fa|
|000016e0| 6c 73 65 2e 20 54 68 65 | 20 53 68 61 72 65 64 20 |lse. The| Shared |
|000016f0| 4c 69 62 72 61 72 79 20 | 4d 61 6e 61 67 65 72 20 |Library |Manager |
|00001700| 77 69 6c 6c 20 74 68 65 | 6e 20 63 6c 65 61 6e 20 |will the|n clean |
|00001710| 75 70 20 74 68 65 20 6f | 62 6a 65 63 74 20 73 6f |up the o|bject so|
|00001720| 20 74 68 61 74 20 61 20 | 70 61 72 74 69 61 6c 6c | that a |partiall|
|00001730| 79 20 63 6f 6e 73 74 72 | 75 63 74 65 64 20 6f 6e |y constr|ucted on|
|00001740| 65 20 64 6f 65 73 20 6e | 6f 74 20 72 65 6d 61 69 |e does n|ot remai|
|00001750| 6e 2e 0d 49 6e 69 74 69 | 61 6c 69 7a 69 6e 67 20 |n..Initi|alizing |
|00001760| 61 6e 20 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |an SNMP |Transpor|
|00001770| 74 0d 41 66 74 65 72 20 | 79 6f 75 72 20 54 72 61 |t.After |your Tra|
|00001780| 6e 73 70 6f 72 74 20 69 | 73 20 63 6f 6e 73 74 72 |nsport i|s constr|
|00001790| 75 63 74 65 64 20 69 74 | 20 6d 75 73 74 20 62 65 |ucted it| must be|
|000017a0| 20 69 6e 69 74 69 61 6c | 69 7a 65 64 2e 20 59 6f | initial|ized. Yo|
|000017b0| 75 72 20 74 72 61 6e 73 | 70 6f 72 74 20 77 69 6c |ur trans|port wil|
|000017c0| 6c 20 6e 6f 74 20 77 6f | 72 6b 20 75 6e 74 69 6c |l not wo|rk until|
|000017d0| 20 49 6e 69 74 53 4e 4d | 50 54 72 61 6e 73 70 6f | InitSNM|PTranspo|
|000017e0| 72 74 28 29 20 69 73 20 | 63 61 6c 6c 65 64 2e 20 |rt() is |called. |
|000017f0| 54 68 69 73 20 72 6f 75 | 74 69 6e 65 20 73 65 74 |This rou|tine set|
|00001800| 73 20 61 6c 6c 20 6f 66 | 20 74 68 65 20 66 69 65 |s all of| the fie|
|00001810| 6c 64 73 20 69 6e 20 74 | 68 65 20 53 4e 4d 50 20 |lds in t|he SNMP |
|00001820| 54 72 61 6e 73 70 6f 72 | 74 20 66 72 6f 6d 20 74 |Transpor|t from t|
|00001830| 68 65 20 70 61 72 61 6d | 65 74 65 72 20 76 61 6c |he param|eter val|
|00001840| 75 65 73 20 74 68 61 74 | 20 79 6f 75 20 70 61 73 |ues that| you pas|
|00001850| 73 20 69 6e 2e 20 59 6f | 75 20 6d 75 73 74 20 63 |s in. Yo|u must c|
|00001860| 61 6c 6c 20 74 68 65 20 | 69 6e 68 65 72 69 74 65 |all the |inherite|
|00001870| 64 20 49 6e 69 74 53 4e | 4d 50 54 72 61 6e 73 70 |d InitSN|MPTransp|
|00001880| 6f 72 74 20 6d 65 6d 62 | 65 72 20 66 75 6e 63 74 |ort memb|er funct|
|00001890| 69 6f 6e 20 69 66 20 79 | 6f 75 20 6f 76 65 72 72 |ion if y|ou overr|
|000018a0| 69 64 65 20 69 74 2e 20 | 54 68 65 20 66 6f 6c 6c |ide it. |The foll|
|000018b0| 6f 77 69 6e 67 20 66 69 | 65 6c 64 73 20 6d 75 73 |owing fi|elds mus|
|000018c0| 74 20 62 65 20 73 65 74 | 2e 0d 2d 3e 09 54 72 61 |t be set|..->.Tra|
|000018d0| 6e 73 70 6f 72 74 54 61 | 67 09 09 61 54 61 67 0d |nsportTa|g..aTag.|
|000018e0| 41 20 6c 6f 6e 67 20 74 | 68 61 74 20 75 6e 69 71 |A long t|hat uniq|
|000018f0| 75 65 6c 79 20 69 64 65 | 6e 74 69 66 69 65 73 20 |uely ide|ntifies |
|00001900| 61 20 74 72 61 6e 73 70 | 6f 72 74 20 28 61 6e 61 |a transp|ort (ana|
|00001910| 6c 6f 67 6f 75 73 20 74 | 6f 20 4f 53 54 79 70 65 |logous t|o OSType|
|00001920| 29 0d 2d 3e 09 54 49 41 | 64 64 72 65 73 73 50 74 |).->.TIA|ddressPt|
|00001930| 72 09 09 61 54 72 61 70 | 53 6f 63 6b 65 74 50 74 |r..aTrap|SocketPt|
|00001940| 72 20 0d 4f 70 61 71 75 | 65 20 61 64 64 72 65 73 |r .Opaqu|e addres|
|00001950| 73 20 6f 66 20 77 68 65 | 72 65 20 74 68 65 20 54 |s of whe|re the T|
|00001960| 72 61 6e 73 70 6f 72 74 | 20 6c 69 73 74 65 6e 73 |ransport| listens|
|00001970| 20 66 6f 72 20 54 72 61 | 70 73 0d 2d 3e 09 54 49 | for Tra|ps.->.TI|
|00001980| 41 64 64 72 65 73 73 50 | 74 72 09 09 61 52 65 71 |AddressP|tr..aReq|
|00001990| 53 6f 63 6b 65 74 50 74 | 72 0d 4f 70 61 71 75 65 |SocketPt|r.Opaque|
|000019a0| 20 61 64 64 72 65 73 73 | 20 6f 66 20 77 68 65 72 | address| of wher|
|000019b0| 65 20 74 68 65 20 54 72 | 61 6e 73 70 6f 72 74 20 |e the Tr|ansport |
|000019c0| 6c 69 73 74 65 6e 73 20 | 66 6f 72 20 52 65 71 75 |listens |for Requ|
|000019d0| 65 73 74 73 0d 2d 3e 09 | 42 6f 6f 6c 65 61 6e 09 |ests.->.|Boolean.|
|000019e0| 09 09 61 68 61 6e 64 6c | 65 73 72 65 73 6f 6c 75 |..ahandl|esresolu|
|000019f0| 74 69 6f 6e 0d 54 72 75 | 65 20 69 66 20 74 68 65 |tion.Tru|e if the|
|00001a00| 20 74 72 61 6e 73 70 6f | 72 74 20 63 61 6e 20 73 | transpo|rt can s|
|00001a10| 65 6e 64 20 54 72 61 70 | 73 0d 2d 3e 09 73 68 6f |end Trap|s.->.sho|
|00001a20| 72 74 09 09 09 61 57 72 | 69 74 65 62 75 66 73 69 |rt...aWr|itebufsi|
|00001a30| 7a 65 0d 4d 61 78 69 6d | 75 6d 20 73 69 7a 65 20 |ze.Maxim|um size |
|00001a40| 6f 66 20 77 72 69 74 65 | 20 62 75 66 66 65 72 73 |of write| buffers|
|00001a50| 0d 2d 3e 09 54 72 61 6e | 73 70 6f 72 74 52 57 50 |.->.Tran|sportRWP|
|00001a60| 72 6f 63 50 74 72 09 09 | 61 57 72 69 74 65 50 72 |rocPtr..|aWritePr|
|00001a70| 6f 63 50 74 72 0d 41 64 | 64 72 65 73 73 20 6f 66 |ocPtr.Ad|dress of|
|00001a80| 20 74 68 65 20 77 72 69 | 74 65 20 70 72 6f 63 65 | the wri|te proce|
|00001a90| 64 75 72 65 0d 2d 3e 09 | 73 68 6f 72 74 09 09 09 |dure.->.|short...|
|00001aa0| 61 4e 75 6d 6f 66 52 65 | 61 64 73 0d 4d 61 78 69 |aNumofRe|ads.Maxi|
|00001ab0| 6d 75 6d 20 6e 75 6d 62 | 65 72 20 6f 66 20 72 65 |mum numb|er of re|
|00001ac0| 61 64 73 20 69 73 73 75 | 65 64 20 61 74 20 6f 6e |ads issu|ed at on|
|00001ad0| 63 65 0d 2d 3e 09 73 68 | 6f 72 74 09 09 09 61 52 |ce.->.sh|ort...aR|
|00001ae0| 65 61 64 54 49 41 64 64 | 72 53 52 43 6d 61 78 0d |eadTIAdd|rSRCmax.|
|00001af0| 4d 61 78 69 6d 75 6d 20 | 6c 65 6e 67 74 68 20 6f |Maximum |length o|
|00001b00| 66 20 73 6f 75 72 63 65 | 20 61 64 64 72 65 73 73 |f source| address|
|00001b10| 20 66 6f 72 20 72 65 61 | 64 20 6f 70 65 72 61 74 | for rea|d operat|
|00001b20| 69 6f 6e 73 0d 2d 3e 09 | 73 68 6f 72 74 09 09 09 |ions.->.|short...|
|00001b30| 61 52 65 61 64 54 49 41 | 64 64 72 44 45 53 54 6d |aReadTIA|ddrDESTm|
|00001b40| 61 78 0d 4d 61 78 69 6d | 75 6d 20 6c 65 6e 67 74 |ax.Maxim|um lengt|
|00001b50| 68 20 6f 66 20 64 65 73 | 74 69 6e 61 74 69 6f 6e |h of des|tination|
|00001b60| 20 61 64 64 72 65 73 73 | 20 66 6f 72 20 72 65 61 | address| for rea|
|00001b70| 64 20 6f 70 65 72 61 74 | 69 6f 6e 73 0d 2d 3e 09 |d operat|ions.->.|
|00001b80| 73 68 6f 72 74 09 09 09 | 61 52 65 61 64 62 75 66 |short...|aReadbuf|
|00001b90| 73 69 7a 65 0d 4d 61 78 | 69 6d 75 6d 20 73 69 7a |size.Max|imum siz|
|00001ba0| 65 20 6f 66 20 61 20 72 | 65 61 64 20 62 75 66 66 |e of a r|ead buff|
|00001bb0| 65 72 0d 2d 3e 09 54 72 | 61 6e 73 70 6f 72 74 52 |er.->.Tr|ansportR|
|00001bc0| 57 50 72 6f 63 50 74 72 | 09 09 61 52 65 61 64 50 |WProcPtr|..aReadP|
|00001bd0| 72 6f 63 50 74 72 0d 41 | 64 64 72 65 73 73 20 6f |rocPtr.A|ddress o|
|00001be0| 66 20 74 68 65 20 72 65 | 61 64 20 70 72 6f 63 65 |f the re|ad proce|
|00001bf0| 64 75 72 65 0d 54 68 65 | 20 61 52 65 61 64 50 72 |dure.The| aReadPr|
|00001c00| 6f 63 50 74 72 20 61 6e | 64 20 61 57 72 69 74 65 |ocPtr an|d aWrite|
|00001c10| 50 72 6f 63 50 74 72 20 | 68 61 76 65 20 74 68 65 |ProcPtr |have the|
|00001c20| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 64 65 66 69 6e | followi|ng defin|
|00001c30| 69 74 69 6f 6e 3a 0d 74 | 79 70 65 64 65 66 20 76 |ition:.t|ypedef v|
|00001c40| 6f 69 64 20 28 2a 54 72 | 61 6e 73 70 6f 72 74 52 |oid (*Tr|ansportR|
|00001c50| 57 50 72 6f 63 50 74 72 | 29 28 53 4e 4d 50 54 72 |WProcPtr|)(SNMPTr|
|00001c60| 61 6e 73 70 6f 72 74 42 | 6c 6f 63 6b 50 74 72 20 |ansportB|lockPtr |
|00001c70| 64 61 74 61 50 74 72 29 | 3b 09 0d 49 74 20 69 73 |dataPtr)|;..It is|
|00001c80| 20 72 65 63 6f 6d 6d 65 | 6e 64 65 64 20 74 68 61 | recomme|nded tha|
|00001c90| 74 20 74 68 65 20 54 72 | 61 6e 73 70 6f 72 74 54 |t the Tr|ansportT|
|00001ca0| 61 67 20 62 65 20 66 6f | 75 72 20 68 75 6d 61 6e |ag be fo|ur human|
|00001cb0| 20 72 65 61 64 61 62 6c | 65 20 41 53 43 49 49 20 | readabl|e ASCII |
|00001cc0| 63 68 61 72 61 63 74 65 | 72 73 20 74 68 61 74 20 |characte|rs that |
|00001cd0| 64 65 73 63 72 69 62 65 | 20 74 68 65 20 6e 65 74 |describe| the net|
|00001ce0| 77 6f 72 6b 20 6c 61 79 | 65 72 20 74 68 61 74 20 |work lay|er that |
|00001cf0| 74 68 65 20 54 72 61 6e | 73 70 6f 72 74 20 74 61 |the Tran|sport ta|
|00001d00| 6c 6b 73 20 74 6f 2e 20 | 49 66 20 6d 75 6c 74 69 |lks to. |If multi|
|00001d10| 70 6c 65 20 54 72 61 6e | 73 70 6f 72 74 73 20 77 |ple Tran|sports w|
|00001d20| 69 74 68 20 74 68 65 20 | 73 61 6d 65 20 54 72 61 |ith the |same Tra|
|00001d30| 6e 73 70 6f 72 74 54 61 | 67 20 61 72 65 20 69 6e |nsportTa|g are in|
|00001d40| 73 74 61 6e 74 69 61 74 | 65 64 2c 20 74 68 65 20 |stantiat|ed, the |
|00001d50| 53 4e 4d 50 20 4d 61 6e | 61 67 65 72 20 77 69 6c |SNMP Man|ager wil|
|00001d60| 6c 20 69 67 6e 6f 72 65 | 20 61 6c 6c 20 62 75 74 |l ignore| all but|
|00001d70| 20 74 68 65 20 66 69 72 | 73 74 20 6f 6e 65 20 69 | the fir|st one i|
|00001d80| 6e 73 74 61 6e 74 69 61 | 74 65 64 2e 20 46 6f 72 |nstantia|ted. For|
|00001d90| 20 74 68 65 20 41 70 70 | 6c 65 54 61 6c 6b 20 53 | the App|leTalk S|
|00001da0| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 20 74 68 |NMP Tran|sport th|
|00001db0| 65 20 74 61 67 20 69 73 | 20 27 44 44 50 20 27 2c |e tag is| 'DDP ',|
|00001dc0| 20 66 6f 72 20 74 68 65 | 20 54 43 50 20 53 4e 4d | for the| TCP SNM|
|00001dd0| 50 20 54 72 61 6e 73 70 | 6f 72 74 20 74 68 65 20 |P Transp|ort the |
|00001de0| 74 61 67 20 69 73 20 27 | 55 44 50 20 27 2e 20 54 |tag is '|UDP '. T|
|00001df0| 68 69 73 20 76 61 6c 75 | 65 20 69 73 20 75 73 65 |his valu|e is use|
|00001e00| 64 20 69 6e 20 74 68 65 | 20 54 72 61 70 20 54 61 |d in the| Trap Ta|
|00001e10| 62 6c 65 20 69 6e 20 74 | 68 65 20 4d 61 63 69 6e |ble in t|he Macin|
|00001e20| 74 6f 73 68 20 41 67 65 | 6e 74 20 74 6f 20 64 65 |tosh Age|nt to de|
|00001e30| 74 65 72 6d 69 6e 65 20 | 77 68 69 63 68 20 54 72 |termine |which Tr|
|00001e40| 61 6e 73 70 6f 72 74 20 | 75 6e 64 65 72 73 74 61 |ansport |understa|
|00001e50| 6e 64 73 20 74 68 65 20 | 63 6f 6e 73 6f 6c 65 20 |nds the |console |
|00001e60| 61 64 64 72 65 73 73 20 | 73 74 6f 72 65 64 20 69 |address |stored i|
|00001e70| 6e 20 61 20 70 61 72 74 | 69 63 75 6c 61 72 20 72 |n a part|icular r|
|00001e80| 6f 77 20 6f 66 20 74 68 | 65 20 74 61 62 6c 65 2e |ow of th|e table.|
|00001e90| 20 54 68 65 20 73 6f 63 | 6b 65 74 73 20 61 72 65 | The soc|kets are|
|00001ea0| 20 77 68 65 72 65 20 74 | 68 65 20 54 72 61 6e 73 | where t|he Trans|
|00001eb0| 70 6f 72 74 20 6c 69 73 | 74 65 6e 73 20 66 6f 72 |port lis|tens for|
|00001ec0| 20 54 72 61 70 73 20 61 | 6e 64 20 52 65 71 75 65 | Traps a|nd Reque|
|00001ed0| 73 74 73 2e 20 54 68 65 | 20 53 4e 4d 50 20 4d 61 |sts. The| SNMP Ma|
|00001ee0| 6e 61 67 65 72 20 64 6f | 65 73 20 6e 6f 74 20 75 |nager do|es not u|
|00001ef0| 6e 64 65 72 73 74 61 6e | 64 20 74 68 65 20 66 6f |nderstan|d the fo|
|00001f00| 72 6d 61 74 20 6f 66 20 | 74 68 65 73 65 20 61 64 |rmat of |these ad|
|00001f10| 64 72 65 73 73 65 73 20 | 61 6e 64 20 6a 75 73 74 |dresses |and just|
|00001f20| 20 70 61 73 73 65 73 20 | 74 68 65 6d 20 61 6c 6f | passes |them alo|
|00001f30| 6e 67 20 74 6f 20 79 6f | 75 72 20 54 72 61 6e 73 |ng to yo|ur Trans|
|00001f40| 70 6f 72 74 2e 20 54 68 | 65 79 20 61 72 65 20 61 |port. Th|ey are a|
|00001f50| 6c 73 6f 20 75 73 65 64 | 20 61 73 20 74 68 65 20 |lso used| as the |
|00001f60| 73 6f 75 72 63 65 20 6f | 66 20 54 72 61 70 73 20 |source o|f Traps |
|00001f70| 6f 72 20 52 65 73 70 6f | 6e 73 65 73 20 73 65 6e |or Respo|nses sen|
|00001f80| 74 2e 20 46 69 6e 61 6c | 6c 79 2c 20 74 68 65 79 |t. Final|ly, they|
|00001f90| 20 61 6c 6c 6f 77 20 74 | 68 65 20 53 4e 4d 50 20 | allow t|he SNMP |
|00001fa0| 4d 61 6e 61 67 65 72 20 | 74 6f 20 64 65 74 65 72 |Manager |to deter|
|00001fb0| 6d 69 6e 65 20 77 68 61 | 74 20 74 79 70 65 20 6f |mine wha|t type o|
|00001fc0| 66 20 70 61 63 6b 65 74 | 20 69 74 20 69 73 20 64 |f packet| it is d|
|00001fd0| 65 63 6f 64 69 6e 67 20 | 62 65 66 6f 72 65 20 70 |ecoding |before p|
|00001fe0| 61 72 73 69 6e 67 20 74 | 68 65 20 72 61 77 20 41 |arsing t|he raw A|
|00001ff0| 53 4e 2e 31 20 64 61 74 | 61 2e 20 49 6e 20 6f 75 |SN.1 dat|a. In ou|
|00002000| 72 20 54 72 61 6e 73 70 | 6f 72 74 73 20 77 65 20 |r Transp|orts we |
|00002010| 68 61 76 65 20 73 74 6f | 72 65 64 20 70 6f 69 6e |have sto|red poin|
|00002020| 74 65 72 73 20 74 6f 20 | 74 68 65 20 61 63 74 75 |ters to |the actu|
|00002030| 61 6c 20 62 69 74 73 20 | 6f 66 20 74 68 65 20 6e |al bits |of the n|
|00002040| 65 74 77 6f 72 6b 20 6c | 61 79 65 72 20 61 64 64 |etwork l|ayer add|
|00002050| 72 65 73 73 65 73 20 69 | 6e 20 74 68 65 73 65 20 |resses i|n these |
|00002060| 66 69 65 6c 64 73 2e 20 | 54 68 65 20 61 57 72 69 |fields. |The aWri|
|00002070| 74 65 62 75 66 73 69 7a | 65 20 61 6e 64 20 61 52 |tebufsiz|e and aR|
|00002080| 65 61 64 62 75 66 73 69 | 7a 65 20 61 72 65 20 74 |eadbufsi|ze are t|
|00002090| 68 65 20 73 69 7a 65 20 | 6f 66 20 62 75 66 66 65 |he size |of buffe|
|000020a0| 72 73 20 74 68 61 74 20 | 74 68 65 20 53 4e 4d 50 |rs that |the SNMP|
|000020b0| 20 4d 61 6e 61 67 65 72 | 20 61 6c 6c 6f 63 61 74 | Manager| allocat|
|000020c0| 65 73 20 66 6f 72 20 79 | 6f 75 72 20 54 72 61 6e |es for y|our Tran|
|000020d0| 73 70 6f 72 74 20 74 6f | 20 75 73 65 2e 0d 52 65 |sport to| use..Re|
|000020e0| 61 64 69 6e 67 20 53 4e | 4d 50 20 50 61 63 6b 65 |ading SN|MP Packe|
|000020f0| 74 73 0d 46 69 6e 61 6c | 6c 79 2c 20 49 6e 69 74 |ts.Final|ly, Init|
|00002100| 53 4e 4d 50 54 72 61 6e | 73 70 6f 72 74 28 29 20 |SNMPTran|sport() |
|00002110| 74 72 69 65 73 20 74 6f | 20 69 73 73 75 65 20 61 |tries to| issue a|
|00002120| 4e 75 6d 6f 66 52 65 61 | 64 73 20 6f 75 74 73 74 |NumofRea|ds outst|
|00002130| 61 6e 64 69 6e 67 20 72 | 65 61 64 73 20 62 79 20 |anding r|eads by |
|00002140| 63 61 6c 6c 69 6e 67 20 | 79 6f 75 72 20 61 52 65 |calling |your aRe|
|00002150| 61 64 50 72 6f 63 28 29 | 20 77 69 74 68 20 61 20 |adProc()| with a |
|00002160| 66 69 6c 6c 65 64 20 69 | 6e 20 53 4e 4d 50 54 72 |filled i|n SNMPTr|
|00002170| 61 6e 73 70 6f 72 74 42 | 6c 6f 63 6b 20 61 73 20 |ansportB|lock as |
|00002180| 73 68 6f 77 6e 20 69 6e | 20 46 69 67 75 72 65 20 |shown in| Figure |
|00002190| 32 2e 20 54 68 65 20 53 | 4e 4d 50 54 72 61 6e 73 |2. The S|NMPTrans|
|000021a0| 70 6f 72 74 42 6c 6f 63 | 6b 20 69 73 20 64 65 66 |portBloc|k is def|
|000021b0| 69 6e 65 64 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |ined as |follows:|
|000021c0| 0d 73 74 72 75 63 74 20 | 53 4e 4d 50 54 72 61 6e |.struct |SNMPTran|
|000021d0| 73 70 6f 72 74 42 6c 6f | 63 6b 20 7b 0d 09 75 6e |sportBlo|ck {..un|
|000021e0| 73 69 67 6e 65 64 20 6c | 6f 6e 67 09 09 71 4c 69 |signed l|ong..qLi|
|000021f0| 6e 6b 3b 09 09 2f 2f 20 | 72 65 73 65 72 76 65 64 |nk;..// |reserved|
|00002200| 20 66 6f 72 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 | for poi|nter to |
|00002210| 6e 65 78 74 20 62 6c 6f | 63 6b 0d 09 73 68 6f 72 |next blo|ck..shor|
|00002220| 74 09 09 09 71 54 79 70 | 65 3b 09 09 2f 2f 20 72 |t...qTyp|e;..// r|
|00002230| 65 73 65 72 76 65 64 20 | 66 6f 72 20 71 75 65 75 |eserved |for queu|
|00002240| 65 20 72 6f 75 74 69 6e | 65 73 0d 09 54 53 4e 4d |e routin|es..TSNM|
|00002250| 50 54 72 61 6e 73 70 6f | 72 74 2a 20 09 74 72 61 |PTranspo|rt* .tra|
|00002260| 6e 73 70 6f 72 74 3b 09 | 2f 2f 20 77 68 6f 20 77 |nsport;.|// who w|
|00002270| 61 73 20 61 73 6b 65 64 | 20 74 6f 20 72 65 61 64 |as asked| to read|
|00002280| 20 6f 72 20 77 72 69 74 | 65 20 62 6c 6f 63 6b 0d | or writ|e block.|
|00002290| 09 53 4e 4d 50 45 72 72 | 6f 72 09 09 72 65 73 75 |.SNMPErr|or..resu|
|000022a0| 6c 74 3b 09 2f 2f 20 61 | 66 74 65 72 20 72 65 71 |lt;.// a|fter req|
|000022b0| 75 65 73 74 20 69 73 20 | 73 65 72 76 69 63 65 64 |uest is |serviced|
|000022c0| 0d 09 76 6f 69 64 2a 20 | 09 09 09 64 65 73 74 6f |..void* |...desto|
|000022d0| 70 61 71 75 65 44 61 74 | 61 3b 2f 2f 20 64 65 73 |paqueDat|a;// des|
|000022e0| 74 69 6e 61 74 69 6f 6e | 20 61 64 64 72 65 73 73 |tination| address|
|000022f0| 20 74 6f 20 62 65 20 72 | 65 73 6f 6c 76 65 64 20 | to be r|esolved |
|00002300| 09 09 09 09 09 09 09 28 | 75 73 65 64 20 69 6e 20 |.......(|used in |
|00002310| 77 72 69 74 65 20 74 72 | 61 70 20 6f 6e 6c 79 29 |write tr|ap only)|
|00002320| 0d 09 54 49 41 64 64 72 | 65 73 73 50 74 72 09 09 |..TIAddr|essPtr..|
|00002330| 64 65 73 74 69 6e 61 74 | 69 6f 6e 3b 09 2f 2f 20 |destinat|ion;.// |
|00002340| 77 68 6f 20 74 68 65 20 | 70 61 63 6b 65 74 20 77 |who the |packet w|
|00002350| 61 73 20 73 65 6e 74 20 | 74 6f 20 0d 09 54 49 41 |as sent |to ..TIA|
|00002360| 64 64 72 65 73 73 50 74 | 72 09 09 73 6f 75 72 63 |ddressPt|r..sourc|
|00002370| 65 3b 09 2f 2f 20 77 68 | 6f 20 73 65 6e 74 20 74 |e;.// wh|o sent t|
|00002380| 68 65 20 70 61 63 6b 65 | 74 20 74 6f 20 75 73 0d |he packe|t to us.|
|00002390| 09 76 6f 69 64 20 2a 09 | 09 09 55 73 65 72 44 61 |.void *.|..UserDa|
|000023a0| 74 61 50 74 72 3b 09 2f | 2f 20 54 72 61 6e 73 70 |taPtr;./|/ Transp|
|000023b0| 6f 72 74 20 77 6f 72 6b | 20 73 70 61 63 65 0d 09 |ort work| space..|
|000023c0| 42 6f 6f 6c 65 61 6e 09 | 09 66 72 65 65 46 6c 61 |Boolean.|.freeFla|
|000023d0| 67 3b 09 2f 2f 20 69 73 | 20 74 68 65 20 77 72 69 |g;.// is| the wri|
|000023e0| 74 65 20 66 69 6e 69 73 | 68 65 64 3f 0d 09 42 6f |te finis|hed?..Bo|
|000023f0| 6f 6c 65 61 6e 09 09 72 | 65 61 64 46 6c 61 67 3b |olean..r|eadFlag;|
|00002400| 09 2f 2f 20 6d 61 6e 61 | 67 65 64 20 62 79 20 53 |.// mana|ged by S|
|00002410| 4e 4d 50 20 4d 61 6e 61 | 67 65 72 0d 09 50 61 63 |NMP Mana|ger..Pac|
|00002420| 6b 65 74 45 6c 65 6d 65 | 6e 74 50 74 72 09 70 6b |ketEleme|ntPtr.pk|
|00002430| 74 65 6c 65 6d 65 6e 74 | 50 74 72 3b 2f 2f 20 6d |telement|Ptr;// m|
|00002440| 61 6e 61 67 65 64 20 62 | 79 20 53 4e 4d 50 20 4d |anaged b|y SNMP M|
|00002450| 61 6e 61 67 65 72 0d 09 | 53 4e 4d 50 50 61 63 6b |anager..|SNMPPack|
|00002460| 65 74 53 74 72 75 63 74 | 50 74 72 09 70 61 63 6b |etStruct|Ptr.pack|
|00002470| 65 74 50 74 72 3b 09 2f | 2f 20 6d 61 6e 61 67 65 |etPtr;./|/ manage|
|00002480| 64 20 62 79 20 53 4e 4d | 50 20 4d 61 6e 61 67 65 |d by SNM|P Manage|
|00002490| 72 0d 7d 3b 0d 54 68 65 | 20 61 52 65 61 64 50 72 |r.};.The| aReadPr|
|000024a0| 6f 63 28 29 20 6d 75 73 | 74 20 62 65 20 61 62 6c |oc() mus|t be abl|
|000024b0| 65 20 74 6f 20 63 61 74 | 63 68 20 62 6f 74 68 20 |e to cat|ch both |
|000024c0| 69 6e 63 6f 6d 69 6e 67 | 20 54 72 61 70 73 20 61 |incoming| Traps a|
|000024d0| 6e 64 20 52 65 71 75 65 | 73 74 73 2e 20 49 74 20 |nd Reque|sts. It |
|000024e0| 6d 75 73 74 20 61 6c 73 | 6f 20 62 65 20 61 62 6c |must als|o be abl|
|000024f0| 65 20 74 6f 20 62 65 20 | 63 61 6c 6c 65 64 20 61 |e to be |called a|
|00002500| 74 20 61 6e 79 20 74 69 | 6d 65 2c 20 74 68 75 73 |t any ti|me, thus|
|00002510| 20 79 6f 75 20 6d 75 73 | 74 20 6e 6f 74 20 61 6c | you mus|t not al|
|00002520| 6c 6f 63 61 74 65 20 6d | 65 6d 6f 72 79 20 75 73 |locate m|emory us|
|00002530| 69 6e 67 20 74 68 65 20 | 6e 6f 72 6d 61 6c 20 4d |ing the |normal M|
|00002540| 61 63 69 6e 74 6f 73 68 | 20 6d 65 6d 6f 72 79 20 |acintosh| memory |
|00002550| 63 61 6c 6c 73 2e 20 59 | 6f 75 20 6d 61 79 20 75 |calls. Y|ou may u|
|00002560| 73 65 20 74 68 65 20 61 | 72 65 61 20 70 6f 69 6e |se the a|rea poin|
|00002570| 74 65 64 20 74 6f 20 62 | 79 20 55 73 65 72 44 61 |ted to b|y UserDa|
|00002580| 74 61 50 74 72 20 66 6f | 72 20 61 6e 79 20 73 63 |taPtr fo|r any sc|
|00002590| 72 61 74 63 68 20 79 6f | 75 20 6d 69 67 68 74 20 |ratch yo|u might |
|000025a0| 6e 65 65 64 2e 20 54 68 | 65 20 53 4e 4d 50 20 4d |need. Th|e SNMP M|
|000025b0| 61 6e 61 67 65 72 20 68 | 61 73 20 70 72 65 61 6c |anager h|as preal|
|000025c0| 6c 6f 63 61 74 65 64 20 | 74 68 69 73 20 61 72 65 |located |this are|
|000025d0| 61 20 66 6f 72 20 79 6f | 75 20 61 63 63 6f 72 64 |a for yo|u accord|
|000025e0| 69 6e 67 20 74 6f 20 74 | 68 65 20 73 69 7a 65 73 |ing to t|he sizes|
|000025f0| 20 79 6f 75 20 73 65 74 | 20 69 6e 20 61 52 65 61 | you set| in aRea|
|00002600| 64 62 75 66 73 69 7a 65 | 2e 20 49 74 20 6d 75 73 |dbufsize|. It mus|
|00002610| 74 20 61 6c 73 6f 20 72 | 65 74 75 72 6e 20 69 6d |t also r|eturn im|
|00002620| 6d 65 64 69 61 74 65 6c | 79 2e 20 57 68 65 6e 20 |mediatel|y. When |
|00002630| 61 20 72 65 61 64 20 61 | 63 74 75 61 6c 6c 79 20 |a read a|ctually |
|00002640| 63 6f 6d 70 6c 65 74 65 | 73 20 79 6f 75 20 6d 75 |complete|s you mu|
|00002650| 73 74 20 63 61 6c 6c 20 | 53 4e 4d 50 52 65 61 64 |st call |SNMPRead|
|00002660| 44 6f 6e 65 28 29 20 61 | 66 74 65 72 20 66 69 6c |Done() a|fter fil|
|00002670| 6c 69 6e 67 20 69 6e 20 | 74 68 65 20 64 61 74 61 |ling in |the data|
|00002680| 2c 20 74 68 65 20 73 6f | 75 72 63 65 20 61 6e 64 |, the so|urce and|
|00002690| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 61 64 64 | destina|tion add|
|000026a0| 72 65 73 73 65 73 2c 20 | 74 68 65 20 61 63 74 75 |resses, |the actu|
|000026b0| 61 6c 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 79 74 |al numbe|r of byt|
|000026c0| 65 73 20 72 65 61 64 20 | 28 69 6e 20 70 61 63 6b |es read |(in pack|
|000026d0| 65 74 50 74 72 2d 3e 70 | 61 63 6b 65 74 50 69 65 |etPtr->p|acketPie|
|000026e0| 63 65 2e 64 61 74 61 53 | 69 7a 65 29 2c 20 74 68 |ce.dataS|ize), th|
|000026f0| 65 20 66 72 65 65 46 6c | 61 67 20 28 73 65 74 20 |e freeFl|ag (set |
|00002700| 74 6f 20 66 61 6c 73 65 | 29 2c 20 61 6e 64 20 74 |to false|), and t|
|00002710| 68 65 20 72 65 73 75 6c | 74 20 28 73 6e 6d 70 4e |he resul|t (snmpN|
|00002720| 6f 45 72 72 6f 72 20 69 | 66 20 69 74 20 77 6f 72 |oError i|f it wor|
|00002730| 6b 65 64 2e 29 20 0d 57 | 61 72 6e 69 6e 67 3a 09 |ked.) .W|arning:.|
|00002740| 49 66 20 74 68 65 20 66 | 72 65 65 46 6c 61 67 20 |If the f|reeFlag |
|00002750| 69 73 20 69 6e 63 6f 72 | 72 65 63 74 6c 79 20 73 |is incor|rectly s|
|00002760| 65 74 2c 20 74 68 65 20 | 53 4e 4d 50 20 4d 61 6e |et, the |SNMP Man|
|00002770| 61 67 65 72 20 77 69 6c | 6c 20 62 65 63 6f 6d 65 |ager wil|l become|
|00002780| 20 68 6f 70 65 6c 65 73 | 73 6c 79 20 63 6f 6e 66 | hopeles|sly conf|
|00002790| 75 73 65 64 2e 0d 41 66 | 74 65 72 20 74 68 65 20 |used..Af|ter the |
|000027a0| 72 65 61 64 20 70 61 63 | 6b 65 74 20 69 73 20 70 |read pac|ket is p|
|000027b0| 72 6f 63 65 73 73 65 64 | 20 62 79 20 74 68 65 20 |rocessed| by the |
|000027c0| 53 4e 4d 50 20 4d 61 6e | 61 67 65 72 20 69 74 20 |SNMP Man|ager it |
|000027d0| 69 73 73 75 65 73 20 61 | 6e 6f 74 68 65 72 20 72 |issues a|nother r|
|000027e0| 65 61 64 20 63 61 6c 6c | 20 74 6f 20 61 52 65 61 |ead call| to aRea|
|000027f0| 64 50 72 6f 63 28 29 20 | 73 6f 20 74 68 61 74 20 |dProc() |so that |
|00002800| 74 68 65 72 65 20 77 69 | 6c 6c 20 61 6c 77 61 79 |there wi|ll alway|
|00002810| 73 20 62 65 20 73 6f 6d | 65 20 6e 75 6d 62 65 72 |s be som|e number|
|00002820| 20 6f 66 20 6f 75 74 73 | 74 61 6e 64 69 6e 67 20 | of outs|tanding |
|00002830| 72 65 61 64 73 2e 20 49 | 66 20 74 68 65 72 65 20 |reads. I|f there |
|00002840| 61 72 65 20 6e 6f 20 6f | 75 74 73 74 61 6e 64 69 |are no o|utstandi|
|00002850| 6e 67 20 72 65 61 64 73 | 20 61 74 20 61 6e 79 20 |ng reads| at any |
|00002860| 74 69 6d 65 20 69 74 20 | 69 73 20 61 6c 6c 6f 77 |time it |is allow|
|00002870| 61 62 6c 65 20 66 6f 72 | 20 79 6f 75 72 20 74 72 |able for| your tr|
|00002880| 61 6e 73 70 6f 72 74 20 | 74 6f 20 64 72 6f 70 20 |ansport |to drop |
|00002890| 53 4e 4d 50 20 70 61 63 | 6b 65 74 73 2e 20 0d 46 |SNMP pac|kets. .F|
|000028a0| 69 67 75 72 65 20 32 d1 | 4c 61 79 6f 75 74 20 6f |igure 2.|Layout o|
|000028b0| 66 20 53 4e 4d 50 54 72 | 61 6e 73 70 6f 72 74 42 |f SNMPTr|ansportB|
|000028c0| 6c 6f 63 6b 20 77 68 65 | 6e 20 61 52 65 61 64 50 |lock whe|n aReadP|
|000028d0| 72 6f 63 28 29 20 63 61 | 6c 6c 65 64 2e 20 4f 6e |roc() ca|lled. On|
|000028e0| 6c 79 20 74 68 65 20 66 | 69 65 6c 64 73 20 74 68 |ly the f|ields th|
|000028f0| 61 74 20 74 68 65 20 54 | 72 61 6e 73 70 6f 72 74 |at the T|ransport|
|00002900| 20 6d 61 79 20 6e 65 65 | 64 20 74 6f 20 61 63 63 | may nee|d to acc|
|00002910| 65 73 73 20 61 72 65 20 | 73 68 6f 77 6e 2e 0d 57 |ess are |shown..W|
|00002920| 68 65 6e 20 79 6f 75 72 | 20 54 72 61 6e 73 70 6f |hen your| Transpo|
|00002930| 72 74 20 69 73 20 64 65 | 6c 65 74 65 64 20 79 6f |rt is de|leted yo|
|00002940| 75 20 6d 75 73 74 20 65 | 6e 73 75 72 65 20 74 68 |u must e|nsure th|
|00002950| 61 74 20 79 6f 75 72 20 | 63 6f 6d 70 6c 65 74 69 |at your |completi|
|00002960| 6f 6e 20 72 6f 75 74 69 | 6e 65 73 20 77 69 6c 6c |on routi|nes will|
|00002970| 20 6e 6f 74 20 62 65 20 | 63 61 6c 6c 65 64 20 61 | not be |called a|
|00002980| 66 74 65 72 20 79 6f 75 | 72 20 64 65 73 74 72 75 |fter you|r destru|
|00002990| 63 74 6f 72 20 69 73 20 | 66 69 6e 69 73 68 65 64 |ctor is |finished|
|000029a0| 20 61 6e 64 20 79 6f 75 | 72 20 54 72 61 6e 73 70 | and you|r Transp|
|000029b0| 6f 72 74 20 6f 62 6a 65 | 63 74 20 69 73 20 67 6f |ort obje|ct is go|
|000029c0| 6e 65 2e 20 59 6f 75 20 | 6d 61 79 20 68 61 76 65 |ne. You |may have|
|000029d0| 20 74 6f 20 77 61 69 74 | 20 66 6f 72 20 61 73 79 | to wait| for asy|
|000029e0| 6e 63 68 72 6f 6e 6f 75 | 73 20 77 72 69 74 65 73 |nchronou|s writes|
|000029f0| 20 74 6f 20 63 6f 6d 70 | 6c 65 74 65 20 61 6e 64 | to comp|lete and|
|00002a00| 20 63 61 6e 63 65 6c 20 | 61 6e 79 20 6f 75 74 73 | cancel |any outs|
|00002a10| 74 61 6e 64 69 6e 67 20 | 72 65 61 64 73 2e 20 54 |tanding |reads. T|
|00002a20| 68 65 20 62 61 73 65 20 | 63 6c 61 73 73 20 64 65 |he base |class de|
|00002a30| 73 74 72 75 63 74 6f 72 | 20 77 69 6c 6c 20 65 6e |structor| will en|
|00002a40| 73 75 72 65 20 74 68 61 | 74 20 61 6e 79 20 70 61 |sure tha|t any pa|
|00002a50| 63 6b 65 74 73 20 79 6f | 75 20 68 61 76 65 20 71 |ckets yo|u have q|
|00002a60| 75 65 75 65 64 20 75 70 | 20 66 6f 72 20 70 72 6f |ueued up| for pro|
|00002a70| 63 65 73 73 69 6e 67 20 | 77 69 6c 6c 20 62 65 20 |cessing |will be |
|00002a80| 74 68 72 6f 77 6e 20 61 | 77 61 79 2e 0d 46 69 67 |thrown a|way..Fig|
|00002a90| 75 72 65 20 33 d1 4c 61 | 79 6f 75 74 20 6f 66 20 |ure 3.La|yout of |
|00002aa0| 53 4e 4d 50 54 72 61 6e | 73 70 6f 72 74 42 6c 6f |SNMPTran|sportBlo|
|00002ab0| 63 6b 20 77 68 65 6e 20 | 74 68 65 20 53 4e 4d 50 |ck when |the SNMP|
|00002ac0| 20 4d 61 6e 61 67 65 72 | 20 63 61 6c 6c 73 20 61 | Manager| calls a|
|00002ad0| 57 72 69 74 65 50 72 6f | 63 28 29 20 77 69 74 68 |WritePro|c() with|
|00002ae0| 20 61 20 72 65 73 70 6f | 6e 73 65 20 74 6f 20 61 | a respo|nse to a|
|00002af0| 6e 20 53 4e 4d 50 20 52 | 65 71 75 65 73 74 2e 2a |n SNMP R|equest.*|
|00002b00| 0d 2a 4f 6e 6c 79 20 74 | 68 65 20 66 69 65 6c 64 |.*Only t|he field|
|00002b10| 73 20 74 68 61 74 20 74 | 68 65 20 54 72 61 6e 73 |s that t|he Trans|
|00002b20| 70 6f 72 74 20 6d 61 79 | 20 6e 65 65 64 20 74 6f |port may| need to|
|00002b30| 20 61 63 63 65 73 73 20 | 61 72 65 20 73 68 6f 77 | access |are show|
|00002b40| 6e 2e 0d 57 72 69 74 69 | 6e 67 20 53 4e 4d 50 20 |n..Writi|ng SNMP |
|00002b50| 50 61 63 6b 65 74 73 0d | 41 66 74 65 72 20 61 20 |Packets.|After a |
|00002b60| 70 61 63 6b 65 74 20 69 | 73 20 70 72 6f 63 65 73 |packet i|s proces|
|00002b70| 73 65 64 20 62 79 20 74 | 68 65 20 53 4e 4d 50 20 |sed by t|he SNMP |
|00002b80| 4d 61 6e 61 67 65 72 2c | 20 69 74 20 77 69 6c 6c |Manager,| it will|
|00002b90| 20 61 6c 6d 6f 73 74 20 | 61 6c 77 61 79 73 20 67 | almost |always g|
|00002ba0| 65 6e 65 72 61 74 65 20 | 61 20 52 65 73 70 6f 6e |enerate |a Respon|
|00002bb0| 73 65 20 70 61 63 6b 65 | 74 2e 20 54 68 65 20 53 |se packe|t. The S|
|00002bc0| 4e 4d 50 20 4d 61 6e 61 | 67 65 72 20 77 69 6c 6c |NMP Mana|ger will|
|00002bd0| 20 65 69 74 68 65 72 20 | 72 65 73 70 6f 6e 64 20 | either |respond |
|00002be0| 74 6f 20 61 20 52 65 71 | 75 65 73 74 20 6f 72 20 |to a Req|uest or |
|00002bf0| 67 65 6e 65 72 61 74 65 | 20 61 20 54 72 61 70 2e |generate| a Trap.|
|00002c00| 20 49 6e 20 74 68 65 20 | 63 61 73 65 73 20 6f 66 | In the |cases of|
|00002c10| 20 61 20 73 69 6d 70 6c | 65 20 52 65 73 70 6f 6e | a simpl|e Respon|
|00002c20| 73 65 20 74 68 65 20 53 | 4e 4d 50 20 4d 61 6e 61 |se the S|NMP Mana|
|00002c30| 67 65 72 20 77 69 6c 6c | 20 63 61 6c 6c 20 79 6f |ger will| call yo|
|00002c40| 75 72 20 61 57 72 69 74 | 65 50 72 6f 63 28 29 20 |ur aWrit|eProc() |
|00002c50| 77 69 74 68 20 61 6e 20 | 53 4e 4d 50 54 72 61 6e |with an |SNMPTran|
|00002c60| 73 70 6f 72 74 42 6c 6f | 63 6b 20 66 69 6c 6c 65 |sportBlo|ck fille|
|00002c70| 64 20 6f 75 74 20 61 73 | 20 73 68 6f 77 6e 20 69 |d out as| shown i|
|00002c80| 6e 20 46 69 67 75 72 65 | 20 33 2e 20 59 6f 75 72 |n Figure| 3. Your|
|00002c90| 20 61 57 72 69 74 65 50 | 72 6f 63 28 29 20 6d 61 | aWriteP|roc() ma|
|00002ca0| 79 20 62 65 20 63 61 6c | 6c 65 64 20 61 74 20 61 |y be cal|led at a|
|00002cb0| 6e 79 20 74 69 6d 65 2c | 20 74 68 75 73 20 79 6f |ny time,| thus yo|
|00002cc0| 75 20 6d 75 73 74 20 6e | 6f 74 20 61 6c 6c 6f 63 |u must n|ot alloc|
|00002cd0| 61 74 65 20 6d 65 6d 6f | 72 79 20 75 73 69 6e 67 |ate memo|ry using|
|00002ce0| 20 74 68 65 20 6e 6f 72 | 6d 61 6c 20 4d 61 63 69 | the nor|mal Maci|
|00002cf0| 6e 74 6f 73 68 20 6d 65 | 6d 6f 72 79 20 63 61 6c |ntosh me|mory cal|
|00002d00| 6c 73 2e 20 59 6f 75 20 | 6d 61 79 20 75 73 65 20 |ls. You |may use |
|00002d10| 74 68 65 20 61 72 65 61 | 20 70 6f 69 6e 74 65 64 |the area| pointed|
|00002d20| 20 74 6f 20 62 79 20 55 | 73 65 72 44 61 74 50 74 | to by U|serDatPt|
|00002d30| 72 20 66 6f 72 20 61 6e | 79 20 73 63 72 61 74 63 |r for an|y scratc|
|00002d40| 68 20 6d 65 6d 6f 72 79 | 20 79 6f 75 20 6e 65 65 |h memory| you nee|
|00002d50| 64 2e 20 54 68 65 20 53 | 4e 4d 50 20 4d 61 6e 61 |d. The S|NMP Mana|
|00002d60| 67 65 72 20 68 61 73 20 | 70 72 65 61 6c 6c 6f 63 |ger has |prealloc|
|00002d70| 61 74 65 64 20 74 68 69 | 73 20 61 72 65 61 20 66 |ated thi|s area f|
|00002d80| 6f 72 20 79 6f 75 20 61 | 63 63 6f 72 64 69 6e 67 |or you a|ccording|
|00002d90| 20 74 6f 20 74 68 65 20 | 73 69 7a 65 73 20 79 6f | to the |sizes yo|
|00002da0| 75 20 73 65 74 20 69 6e | 20 61 57 72 69 74 65 62 |u set in| aWriteb|
|00002db0| 75 66 73 69 7a 65 2e 20 | 54 68 65 20 64 65 73 74 |ufsize. |The dest|
|00002dc0| 69 6e 61 74 69 6f 6e 20 | 73 6f 63 6b 65 74 20 69 |ination |socket i|
|00002dd0| 73 20 74 68 65 20 73 61 | 6d 65 20 62 6c 6f 63 6b |s the sa|me block|
|00002de0| 20 61 73 20 77 61 73 20 | 70 61 73 73 65 64 20 69 | as was |passed i|
|00002df0| 6e 20 6f 6e 20 74 68 65 | 20 72 65 61 64 20 61 73 |n on the| read as|
|00002e00| 20 74 68 65 20 73 6f 75 | 72 63 65 20 73 6f 63 6b | the sou|rce sock|
|00002e10| 65 74 2c 20 74 68 65 20 | 73 6f 75 72 63 65 20 73 |et, the |source s|
|00002e20| 6f 63 6b 65 74 20 69 73 | 20 79 6f 75 72 20 69 6e |ocket is| your in|
|00002e30| 69 74 69 61 6c 69 7a 65 | 64 20 66 52 65 71 75 65 |itialize|d fReque|
|00002e40| 73 74 53 6f 63 6b 65 74 | 50 74 72 2c 20 74 68 65 |stSocket|Ptr, the|
|00002e50| 20 70 61 63 6b 65 74 50 | 74 72 20 70 6f 69 6e 74 | packetP|tr point|
|00002e60| 73 20 74 6f 20 74 68 65 | 20 53 4e 4d 50 20 64 61 |s to the| SNMP da|
|00002e70| 74 61 20 74 6f 20 70 75 | 74 20 6f 6e 20 74 68 65 |ta to pu|t on the|
|00002e80| 20 77 69 72 65 2e 20 59 | 6f 75 20 6d 75 73 74 20 | wire. Y|ou must |
|00002e90| 72 65 74 75 72 6e 20 69 | 6d 6d 65 64 69 61 74 65 |return i|mmediate|
|00002ea0| 6c 79 20 66 72 6f 6d 20 | 74 68 65 20 63 61 6c 6c |ly from |the call|
|00002eb0| 20 74 6f 20 61 57 72 69 | 74 65 50 72 6f 63 28 29 | to aWri|teProc()|
|00002ec0| 2e 20 41 66 74 65 72 20 | 74 68 65 20 77 72 69 74 |. After |the writ|
|00002ed0| 65 20 63 6f 6d 70 6c 65 | 74 65 73 20 79 6f 75 20 |e comple|tes you |
|00002ee0| 73 68 6f 75 6c 64 20 66 | 69 6c 6c 20 69 6e 20 74 |should f|ill in t|
|00002ef0| 68 65 20 72 65 73 75 6c | 74 2c 20 73 65 74 20 74 |he resul|t, set t|
|00002f00| 68 65 20 66 72 65 65 46 | 6c 61 67 20 74 6f 20 74 |he freeF|lag to t|
|00002f10| 72 75 65 2c 20 61 6e 64 | 20 63 61 6c 6c 20 53 4e |rue, and| call SN|
|00002f20| 4d 50 57 72 69 74 65 44 | 6f 6e 65 28 29 20 73 6f |MPWriteD|one() so|
|00002f30| 20 74 68 61 74 20 74 68 | 65 20 53 4e 4d 50 20 4d | that th|e SNMP M|
|00002f40| 61 6e 61 67 65 72 20 63 | 61 6e 20 66 72 65 65 20 |anager c|an free |
|00002f50| 75 70 20 74 68 65 20 6d | 65 6d 6f 72 79 20 69 74 |up the m|emory it|
|00002f60| 20 61 6c 6c 6f 63 61 74 | 65 64 2e 0d 57 61 72 6e | allocat|ed..Warn|
|00002f70| 69 6e 67 3a 09 49 66 20 | 74 68 65 20 66 72 65 65 |ing:.If |the free|
|00002f80| 46 6c 61 67 20 69 73 20 | 69 6e 63 6f 72 72 65 63 |Flag is |incorrec|
|00002f90| 74 6c 79 20 73 65 74 20 | 74 68 65 20 53 4e 4d 50 |tly set |the SNMP|
|00002fa0| 20 4d 61 6e 61 67 65 72 | 20 77 69 6c 6c 20 62 65 | Manager| will be|
|00002fb0| 63 6f 6d 65 20 68 6f 70 | 65 6c 65 73 73 6c 79 20 |come hop|elessly |
|00002fc0| 63 6f 6e 66 75 73 65 64 | 2e 0d 49 66 20 79 6f 75 |confused|..If you|
|00002fd0| 72 20 54 72 61 6e 73 70 | 6f 72 74 20 63 61 6e 20 |r Transp|ort can |
|00002fe0| 73 65 6e 64 20 54 72 61 | 70 73 20 69 74 20 6d 75 |send Tra|ps it mu|
|00002ff0| 73 74 20 73 65 74 20 74 | 68 65 20 66 48 61 6e 64 |st set t|he fHand|
|00003000| 6c 65 73 52 65 73 6f 6c | 75 74 69 6f 6e 20 66 69 |lesResol|ution fi|
|00003010| 65 6c 64 20 74 6f 20 74 | 72 75 65 2e 20 49 74 20 |eld to t|rue. It |
|00003020| 69 73 20 73 74 72 6f 6e | 67 6c 79 20 65 6e 63 6f |is stron|gly enco|
|00003030| 75 72 61 67 65 64 20 74 | 68 61 74 20 79 6f 75 72 |uraged t|hat your|
|00003040| 20 74 72 61 6e 73 70 6f | 72 74 20 68 61 6e 64 6c | transpo|rt handl|
|00003050| 65 20 54 72 61 70 73 2c | 20 69 66 20 69 74 20 64 |e Traps,| if it d|
|00003060| 69 64 20 6e 6f 74 2c 20 | 69 74 20 77 6f 75 6c 64 |id not, |it would|
|00003070| 20 6e 6f 74 20 62 65 20 | 66 75 6c 6c 79 20 63 6f | not be |fully co|
|00003080| 6d 70 6c 69 61 6e 74 20 | 77 69 74 68 20 74 68 65 |mpliant |with the|
|00003090| 20 53 4e 4d 50 20 73 74 | 61 6e 64 61 72 64 2e 20 | SNMP st|andard. |
|000030a0| 57 68 65 6e 20 61 20 54 | 72 61 70 20 69 73 20 67 |When a T|rap is g|
|000030b0| 65 6e 65 72 61 74 65 64 | 2c 20 74 68 65 20 53 4e |enerated|, the SN|
|000030c0| 4d 50 20 4d 61 6e 61 67 | 65 72 20 77 69 6c 6c 20 |MP Manag|er will |
|000030d0| 64 65 74 65 72 6d 69 6e | 65 20 69 66 20 74 68 65 |determin|e if the|
|000030e0| 20 54 72 61 70 20 69 73 | 20 73 75 70 70 6f 73 65 | Trap is| suppose|
|000030f0| 64 20 74 6f 20 62 65 20 | 73 65 6e 74 20 74 6f 20 |d to be |sent to |
|00003100| 61 20 63 6f 6e 73 6f 6c | 65 20 74 68 61 74 20 73 |a consol|e that s|
|00003110| 75 70 70 6f 72 74 73 20 | 79 6f 75 72 20 54 72 61 |upports |your Tra|
|00003120| 6e 73 70 6f 72 74 20 74 | 79 70 65 20 62 79 20 6c |nsport t|ype by l|
|00003130| 6f 6f 6b 69 6e 67 20 74 | 68 72 6f 75 67 68 20 74 |ooking t|hrough t|
|00003140| 68 65 20 54 72 61 70 20 | 74 61 62 6c 65 20 69 6e |he Trap |table in|
|00003150| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 53 | the Mac|intosh S|
|00003160| 79 73 74 65 6d 20 4d 49 | 42 20 69 6d 70 6c 65 6d |ystem MI|B implem|
|00003170| 65 6e 74 65 64 20 62 79 | 20 74 68 65 20 4d 61 63 |ented by| the Mac|
|00003180| 69 6e 74 6f 73 68 20 41 | 67 65 6e 74 2e 20 49 66 |intosh A|gent. If|
|00003190| 20 73 6f 2c 20 69 74 20 | 77 69 6c 6c 20 69 73 73 | so, it |will iss|
|000031a0| 75 65 20 61 20 63 61 6c | 6c 20 74 6f 20 79 6f 75 |ue a cal|l to you|
|000031b0| 72 20 61 57 72 69 74 65 | 50 72 6f 63 28 29 20 61 |r aWrite|Proc() a|
|000031c0| 73 20 61 62 6f 76 65 2c | 20 65 78 63 65 70 74 20 |s above,| except |
|000031d0| 74 68 61 74 20 74 68 65 | 20 64 65 73 74 4f 70 61 |that the| destOpa|
|000031e0| 71 75 65 44 61 74 61 20 | 77 69 6c 6c 20 70 6f 69 |queData |will poi|
|000031f0| 6e 74 20 74 6f 20 61 20 | 62 6c 6f 63 6b 20 74 68 |nt to a |block th|
|00003200| 61 74 20 74 68 65 20 53 | 4e 4d 50 20 4d 61 6e 61 |at the S|NMP Mana|
|00003210| 67 65 72 20 68 61 73 20 | 70 72 6f 63 75 72 65 64 |ger has |procured|
|00003220| 20 66 72 6f 6d 20 74 68 | 65 20 74 72 61 70 44 65 | from th|e trapDe|
|00003230| 73 74 69 6e 61 74 69 6f | 6e 20 66 69 65 6c 64 20 |stinatio|n field |
|00003240| 69 6e 20 74 68 65 20 54 | 72 61 70 20 54 61 62 6c |in the T|rap Tabl|
|00003250| 65 20 69 6e 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |e in the| Macinto|
|00003260| 73 68 20 41 67 65 6e 74 | 2e 20 49 74 20 69 73 20 |sh Agent|. It is |
|00003270| 75 70 20 74 6f 20 79 6f | 75 20 74 6f 20 64 65 66 |up to yo|u to def|
|00003280| 69 6e 65 20 68 6f 77 20 | 74 68 69 73 20 61 64 64 |ine how |this add|
|00003290| 72 65 73 73 20 77 69 6c | 6c 20 62 65 20 73 74 6f |ress wil|l be sto|
|000032a0| 72 65 64 2e 20 48 6f 77 | 65 76 65 72 2c 20 69 74 |red. How|ever, it|
|000032b0| 20 6d 75 73 74 20 62 65 | 20 6e 6f 6e 76 6f 6c 61 | must be| nonvola|
|000032c0| 74 69 6c 65 20 62 65 74 | 77 65 65 6e 20 72 65 62 |tile bet|ween reb|
|000032d0| 6f 6f 74 73 20 6f 66 20 | 74 68 65 20 73 79 73 74 |oots of |the syst|
|000032e0| 65 6d 2e 20 46 6f 72 20 | 74 68 65 20 41 70 70 6c |em. For |the Appl|
|000032f0| 65 54 61 6c 6b 20 53 4e | 4d 50 20 74 72 61 6e 73 |eTalk SN|MP trans|
|00003300| 70 6f 72 74 2c 20 77 65 | 20 73 74 6f 72 65 20 74 |port, we| store t|
|00003310| 68 65 20 4e 42 50 20 6e | 61 6d 65 20 6f 66 20 74 |he NBP n|ame of t|
|00003320| 68 65 20 63 6f 6e 73 6f | 6c 65 20 61 73 20 73 70 |he conso|le as sp|
|00003330| 65 63 69 66 69 65 64 20 | 69 6e 20 74 68 65 20 41 |ecified |in the A|
|00003340| 70 70 6c 65 54 61 6c 6b | 20 6f 76 65 72 20 53 4e |ppleTalk| over SN|
|00003350| 4d 50 20 52 46 43 2e 20 | 46 6f 72 20 74 68 65 20 |MP RFC. |For the |
|00003360| 54 43 50 20 53 4e 4d 50 | 20 54 72 61 6e 73 70 6f |TCP SNMP| Transpo|
|00003370| 72 74 2c 20 77 65 20 73 | 74 6f 72 65 20 74 68 65 |rt, we s|tore the|
|00003380| 20 49 50 20 61 64 64 72 | 65 73 73 20 6f 66 20 74 | IP addr|ess of t|
|00003390| 68 65 20 63 6f 6e 73 6f | 6c 65 20 69 6e 20 64 6f |he conso|le in do|
|000033a0| 74 74 65 64 20 6e 6f 74 | 61 74 69 6f 6e 20 54 68 |tted not|ation Th|
|000033b0| 65 20 54 72 61 6e 73 70 | 6f 72 74 20 69 73 20 72 |e Transp|ort is r|
|000033c0| 65 73 70 6f 6e 73 69 62 | 6c 65 20 66 6f 72 20 74 |esponsib|le for t|
|000033d0| 75 72 6e 69 6e 67 20 74 | 68 69 73 20 61 64 64 72 |urning t|his addr|
|000033e0| 65 73 73 20 69 6e 74 6f | 20 74 68 65 20 77 69 72 |ess into| the wir|
|000033f0| 65 20 61 64 64 72 65 73 | 73 20 6f 66 20 74 68 65 |e addres|s of the|
|00003400| 20 63 6f 6e 73 6f 6c 65 | 2e 20 45 76 65 72 79 74 | console|. Everyt|
|00003410| 68 69 6e 67 20 65 6c 73 | 65 20 69 73 20 61 73 20 |hing els|e is as |
|00003420| 61 62 6f 76 65 2e 20 59 | 6f 75 20 6d 75 73 74 20 |above. Y|ou must |
|00003430| 72 65 74 75 72 6e 20 69 | 6d 6d 65 64 69 61 74 65 |return i|mmediate|
|00003440| 6c 79 20 61 66 74 65 72 | 20 74 68 65 20 63 61 6c |ly after| the cal|
|00003450| 6c 20 74 6f 20 79 6f 75 | 72 20 61 57 72 69 74 65 |l to you|r aWrite|
|00003460| 50 72 6f 63 28 29 20 61 | 6e 64 20 63 61 6c 6c 20 |Proc() a|nd call |
|00003470| 53 4e 4d 50 57 72 69 74 | 65 44 6f 6e 65 28 29 20 |SNMPWrit|eDone() |
|00003480| 77 68 65 6e 20 74 68 65 | 20 54 72 61 70 20 77 72 |when the| Trap wr|
|00003490| 69 74 65 20 63 6f 6d 70 | 6c 65 74 65 73 2e 0d 54 |ite comp|letes..T|
|000034a0| 68 65 20 54 72 61 70 20 | 54 61 62 6c 65 20 69 73 |he Trap |Table is|
|000034b0| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 62 79 20 | impleme|nted by |
|000034c0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 41 67 |the Maci|ntosh Ag|
|000034d0| 65 6e 74 20 61 6e 64 20 | 69 73 20 64 65 66 69 6e |ent and |is defin|
|000034e0| 65 64 20 69 6e 20 41 53 | 4e 2e 31 20 62 79 20 74 |ed in AS|N.1 by t|
|000034f0| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 53 79 73 |he Macin|tosh Sys|
|00003500| 74 65 6d 20 4d 49 42 20 | 61 73 3a 0d 54 72 61 70 |tem MIB |as:.Trap|
|00003510| 52 65 71 75 65 73 74 45 | 6e 74 72 79 20 09 3a 3a |RequestE|ntry .::|
|00003520| 3d 20 53 45 51 55 45 4e | 43 45 20 7b 0d 74 72 61 |= SEQUEN|CE {.tra|
|00003530| 70 49 6e 64 65 78 09 09 | 49 4e 54 45 47 45 52 2c |pIndex..|INTEGER,|
|00003540| 09 09 09 2f 2f 20 75 6e | 73 69 67 6e 65 64 20 6c |...// un|signed l|
|00003550| 6f 6e 67 0d 74 72 61 70 | 43 6f 6d 6d 75 6e 69 74 |ong.trap|Communit|
|00003560| 79 09 09 4d 61 63 69 6e | 74 6f 73 68 44 69 73 70 |y..Macin|toshDisp|
|00003570| 6c 61 79 53 74 72 69 6e | 67 2c 09 2f 2f 20 6f 70 |layStrin|g,.// op|
|00003580| 61 71 75 65 20 64 61 74 | 61 20 0d 74 72 61 70 50 |aque dat|a .trapP|
|00003590| 72 6f 74 6f 63 6f 6c 09 | 09 4d 61 63 4f 53 54 79 |rotocol.|.MacOSTy|
|000035a0| 70 65 2c 09 09 09 2f 2f | 20 66 6f 75 72 20 62 79 |pe,...//| four by|
|000035b0| 74 65 73 0d 74 72 61 70 | 44 65 73 74 69 6e 61 74 |tes.trap|Destinat|
|000035c0| 69 6f 6e 09 4f 43 54 45 | 54 20 53 54 52 49 4e 47 |ion.OCTE|T STRING|
|000035d0| 2c 09 09 09 2f 2f 20 6f | 70 61 71 75 65 20 64 61 |,...// o|paque da|
|000035e0| 74 61 0d 74 72 61 70 56 | 61 6c 69 64 69 74 79 09 |ta.trapV|alidity.|
|000035f0| 09 49 4e 54 45 47 45 52 | 09 09 09 2f 2f 20 31 20 |.INTEGER|...// 1 |
|00003600| 3d 20 76 61 6c 69 64 2c | 20 32 20 3d 20 69 6e 76 |= valid,| 2 = inv|
|00003610| 61 6c 69 64 0d 7d 0d 54 | 68 65 20 74 77 6f 20 66 |alid.}.T|he two f|
|00003620| 69 65 6c 64 73 20 74 68 | 61 74 20 61 6e 20 53 4e |ields th|at an SN|
|00003630| 4d 50 20 54 72 61 6e 73 | 70 6f 72 74 20 61 75 74 |MP Trans|port aut|
|00003640| 68 6f 72 20 6d 75 73 74 | 20 64 65 66 69 6e 65 20 |hor must| define |
|00003650| 61 72 65 20 74 68 65 20 | 74 72 61 70 50 72 6f 74 |are the |trapProt|
|00003660| 6f 63 6f 6c 20 61 6e 64 | 20 74 68 65 20 74 72 61 |ocol and| the tra|
|00003670| 70 44 65 73 74 69 6e 61 | 74 69 6f 6e 2e 20 54 68 |pDestina|tion. Th|
|00003680| 65 20 74 72 61 70 50 72 | 6f 74 6f 63 6f 6c 20 69 |e trapPr|otocol i|
|00003690| 73 20 63 6f 6d 70 61 72 | 65 64 20 62 79 20 74 68 |s compar|ed by th|
|000036a0| 65 20 53 4e 4d 50 20 4d | 61 6e 61 67 65 72 20 74 |e SNMP M|anager t|
|000036b0| 6f 20 74 68 65 20 54 72 | 61 6e 73 70 6f 72 74 54 |o the Tr|ansportT|
|000036c0| 61 67 20 61 6e 64 20 69 | 73 20 75 73 65 64 20 74 |ag and i|s used t|
|000036d0| 6f 20 69 64 65 6e 74 69 | 66 79 20 77 68 69 63 68 |o identi|fy which|
|000036e0| 20 53 4e 4d 50 20 54 72 | 61 6e 73 70 6f 72 74 20 | SNMP Tr|ansport |
|000036f0| 77 69 6c 6c 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |will be |able to |
|00003700| 72 65 73 6f 6c 76 65 20 | 74 68 65 20 74 72 61 70 |resolve |the trap|
|00003710| 44 65 73 74 69 6e 61 74 | 69 6f 6e 20 65 6e 74 72 |Destinat|ion entr|
|00003720| 79 20 61 6e 64 20 73 65 | 6e 64 20 74 68 65 20 54 |y and se|nd the T|
|00003730| 72 61 70 2e 20 54 68 65 | 20 74 72 61 70 50 72 6f |rap. The| trapPro|
|00003740| 74 6f 63 6f 6c 20 66 69 | 65 6c 64 20 6d 75 73 74 |tocol fi|eld must|
|00003750| 20 63 6f 6e 74 61 69 6e | 20 74 68 65 20 73 61 6d | contain| the sam|
|00003760| 65 20 76 61 6c 75 65 20 | 74 68 61 74 20 77 61 73 |e value |that was|
|00003770| 20 69 6e 69 74 69 61 6c | 69 7a 65 64 20 69 6e 20 | initial|ized in |
|00003780| 74 68 65 20 74 72 61 6e | 73 70 6f 72 74 54 61 67 |the tran|sportTag|
|00003790| 20 66 69 65 6c 64 2e 20 | 53 6f 6d 65 20 63 61 72 | field. |Some car|
|000037a0| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 67 69 76 65 |e should| be give|
|000037b0| 6e 20 74 6f 20 74 68 65 | 20 66 6f 72 6d 61 74 20 |n to the| format |
|000037c0| 6f 66 20 74 68 65 20 74 | 72 61 70 44 65 73 74 69 |of the t|rapDesti|
|000037d0| 6e 61 74 69 6f 6e 20 61 | 73 20 6e 65 74 77 6f 72 |nation a|s networ|
|000037e0| 6b 20 6d 61 6e 61 67 65 | 72 73 20 77 69 6c 6c 20 |k manage|rs will |
|000037f0| 68 61 76 65 20 74 6f 20 | 65 6e 74 65 72 20 74 68 |have to |enter th|
|00003800| 65 73 65 20 61 64 64 72 | 65 73 73 65 73 20 62 79 |ese addr|esses by|
|00003810| 20 68 61 6e 64 20 66 72 | 6f 6d 20 61 20 63 6f 6e | hand fr|om a con|
|00003820| 73 6f 6c 65 2e 20 0d 53 | 75 6d 6d 61 72 79 0d 41 |sole. .S|ummary.A|
|00003830| 6e 20 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |n SNMP T|ransport|
|00003840| 20 70 72 6f 76 69 64 65 | 73 20 61 6e 20 69 6e 74 | provide|s an int|
|00003850| 65 72 66 61 63 65 20 62 | 65 74 77 65 65 6e 20 74 |erface b|etween t|
|00003860| 68 65 20 53 4e 4d 50 20 | 4d 61 6e 61 67 65 72 20 |he SNMP |Manager |
|00003870| 61 6e 64 20 61 20 6e 65 | 74 77 6f 72 6b 20 6c 61 |and a ne|twork la|
|00003880| 79 65 72 20 6f 66 20 61 | 20 70 61 72 74 69 63 75 |yer of a| particu|
|00003890| 6c 61 72 20 6e 65 74 77 | 6f 72 6b 20 73 74 61 63 |lar netw|ork stac|
|000038a0| 6b 2e 20 49 74 20 6d 75 | 73 74 20 62 65 20 61 62 |k. It mu|st be ab|
|000038b0| 6c 65 20 74 6f 20 62 65 | 20 63 61 6c 6c 65 64 20 |le to be| called |
|000038c0| 61 74 20 61 6e 79 20 74 | 69 6d 65 2c 20 74 68 75 |at any t|ime, thu|
|000038d0| 73 20 63 61 6e 6e 6f 74 | 20 64 65 70 65 6e 64 20 |s cannot| depend |
|000038e0| 6f 6e 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |on the M|acintosh|
|000038f0| 20 6d 65 6d 6f 72 79 20 | 63 61 6c 6c 73 2e 20 41 | memory |calls. A|
|00003900| 20 54 72 61 6e 73 70 6f | 72 74 20 6d 75 73 74 20 | Transpo|rt must |
|00003910| 75 6e 64 65 72 73 74 61 | 6e 64 20 68 6f 77 20 61 |understa|nd how a|
|00003920| 20 54 72 61 70 20 64 65 | 73 74 69 6e 61 74 69 6f | Trap de|stinatio|
|00003930| 6e 20 28 63 6f 6e 73 6f | 6c 65 20 61 64 64 72 65 |n (conso|le addre|
|00003940| 73 73 29 20 69 73 20 74 | 6f 20 62 65 20 73 74 6f |ss) is t|o be sto|
|00003950| 72 65 64 20 69 6e 20 74 | 68 65 20 4d 61 63 69 6e |red in t|he Macin|
|00003960| 74 6f 73 68 20 41 67 65 | 6e 74 d5 73 20 54 72 61 |tosh Age|nt.s Tra|
|00003970| 70 20 54 61 62 6c 65 2e | 20 54 68 69 73 20 61 64 |p Table.| This ad|
|00003980| 64 72 65 73 73 20 66 6f | 72 6d 61 74 20 6d 75 73 |dress fo|rmat mus|
|00003990| 74 20 62 65 20 73 74 61 | 62 6c 65 20 62 65 74 77 |t be sta|ble betw|
|000039a0| 65 65 6e 20 72 65 62 6f | 6f 74 73 20 6f 66 20 74 |een rebo|ots of t|
|000039b0| 68 65 20 73 79 73 74 65 | 6d 20 61 6e 64 20 6d 75 |he syste|m and mu|
|000039c0| 73 74 20 62 65 20 72 65 | 73 6f 6c 76 61 62 6c 65 |st be re|solvable|
|000039d0| 20 69 6e 74 6f 20 61 20 | 6e 65 74 77 6f 72 6b 20 | into a |network |
|000039e0| 61 64 64 72 65 73 73 20 | 66 6f 72 20 74 68 65 20 |address |for the |
|000039f0| 63 6f 6e 73 6f 6c 65 2e | 20 49 74 20 69 73 20 74 |console.| It is t|
|00003a00| 68 65 20 72 65 73 70 6f | 6e 73 69 62 69 6c 69 74 |he respo|nsibilit|
|00003a10| 79 20 6f 66 20 74 68 65 | 20 54 72 61 6e 73 70 6f |y of the| Transpo|
|00003a20| 72 74 20 64 65 76 65 6c | 6f 70 65 72 20 74 6f 20 |rt devel|oper to |
|00003a30| 69 6e 66 6f 72 6d 20 6e | 65 74 77 6f 72 6b 20 6d |inform n|etwork m|
|00003a40| 61 6e 61 67 65 72 73 20 | 6f 66 20 68 6f 77 20 74 |anagers |of how t|
|00003a50| 6f 20 73 74 6f 72 65 20 | 74 68 69 73 20 61 64 64 |o store |this add|
|00003a60| 72 65 73 73 2e 20 46 6f | 72 20 49 50 58 2c 20 41 |ress. Fo|r IPX, A|
|00003a70| 70 70 6c 65 54 61 6c 6b | 2c 20 61 6e 64 20 4f 53 |ppleTalk|, and OS|
|00003a80| 49 2c 20 74 68 65 73 65 | 20 73 74 61 6e 64 61 72 |I, these| standar|
|00003a90| 64 73 20 68 61 76 65 20 | 62 65 65 6e 20 73 70 65 |ds have |been spe|
|00003aa0| 63 69 66 69 65 64 20 69 | 6e 20 52 46 43 73 20 28 |cified i|n RFCs (|
|00003ab0| 52 65 71 75 65 73 74 20 | 46 6f 72 20 43 6f 6d 6d |Request |For Comm|
|00003ac0| 65 6e 74 73 29 2e 20 54 | 68 65 73 65 20 64 6f 63 |ents). T|hese doc|
|00003ad0| 75 6d 65 6e 74 73 20 61 | 72 65 20 61 76 61 69 6c |uments a|re avail|
|00003ae0| 61 62 6c 65 20 6f 6e 2d | 6c 69 6e 65 20 6f 66 66 |able on-|line off|
|00003af0| 20 6f 66 20 74 68 65 20 | 49 6e 74 65 72 6e 65 74 | of the |Internet|
|00003b00| 20 61 6e 64 20 61 72 65 | 20 6d 61 69 6e 74 61 69 | and are| maintai|
|00003b10| 6e 65 64 20 69 6e 20 76 | 61 72 69 6f 75 73 20 72 |ned in v|arious r|
|00003b20| 65 70 6f 73 69 74 6f 72 | 69 65 73 20 61 6e 64 20 |epositor|ies and |
|00003b30| 66 6f 72 6d 61 74 73 20 | 62 79 20 74 68 65 20 49 |formats |by the I|
|00003b40| 45 54 46 2e 0d 46 75 72 | 74 68 65 72 20 52 65 66 |ETF..Fur|ther Ref|
|00003b50| 65 72 65 6e 63 65 3a 0d | a5 09 4d 61 63 53 4e 4d |erence:.|..MacSNM|
|00003b60| 50 20 50 72 6f 67 72 61 | 6d 6d 65 72 d5 73 20 47 |P Progra|mmer.s G|
|00003b70| 75 69 64 65 0d a5 09 53 | 68 61 72 65 64 20 4c 69 |uide...S|hared Li|
|00003b80| 62 72 61 72 79 20 4d 61 | 6e 61 67 65 72 20 50 72 |brary Ma|nager Pr|
|00003b90| 6f 67 72 61 6d 6d 65 72 | d5 73 20 47 75 69 64 65 |ogrammer|.s Guide|
|00003ba0| 0d a5 09 52 46 43 20 31 | 31 35 37 2c 20 41 20 53 |...RFC 1|157, A S|
|00003bb0| 69 6d 70 6c 65 20 4e 65 | 74 77 6f 72 6b 20 4d 61 |imple Ne|twork Ma|
|00003bc0| 6e 61 67 65 6d 65 6e 74 | 20 50 72 6f 74 6f 63 6f |nagement| Protoco|
|00003bd0| 6c 20 28 53 4e 4d 50 29 | 0d a5 09 52 46 43 20 31 |l (SNMP)|...RFC 1|
|00003be0| 31 35 35 2c 20 53 74 72 | 75 63 74 75 72 65 20 61 |155, Str|ucture a|
|00003bf0| 6e 64 20 49 64 65 6e 74 | 69 66 69 63 61 74 69 6f |nd Ident|ificatio|
|00003c00| 6e 20 6f 66 20 4d 61 6e | 61 67 65 6d 65 6e 74 20 |n of Man|agement |
|00003c10| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 66 6f 72 20 |Informat|ion for |
|00003c20| 54 43 50 2f 49 50 2d 62 | 61 73 65 64 20 49 6e 74 |TCP/IP-b|ased Int|
|00003c30| 65 72 6e 65 74 73 0d a5 | 09 52 46 43 20 31 34 31 |ernets..|.RFC 141|
|00003c40| 39 2c 20 53 4e 4d 50 20 | 6f 76 65 72 20 41 70 70 |9, SNMP |over App|
|00003c50| 6c 65 54 61 6c 6b 2c 20 | 49 6e 74 65 72 6e 65 74 |leTalk, |Internet|
|00003c60| 20 50 72 6f 70 6f 73 65 | 64 20 53 74 61 6e 64 61 | Propose|d Standa|
|00003c70| 72 64 0d a5 09 4d 61 63 | 69 6e 74 6f 73 68 20 53 |rd...Mac|intosh S|
|00003c80| 79 73 74 65 6d 20 4d 49 | 42 0d 18 70 00 00 00 00 |ystem MI|B..p....|
|00003c90| 03 48 02 52 00 11 02 ff | 0c 00 ff ff ff ff 00 00 |.H.R....|........|
|00003ca0| 00 00 00 00 00 00 02 52 | 00 00 03 48 00 00 00 00 |.......R|...H....|
|00003cb0| 00 00 00 a0 00 82 00 1e | 00 01 00 0a 00 2f 00 5a |........|...../.Z|
|00003cc0| 00 81 02 23 00 07 00 00 | 00 00 00 08 00 0a 00 09 |...#....|........|
|00003cd0| 30 49 88 3a b5 9c f0 39 | 00 22 00 7b 02 1a 00 00 |0I.:...9|.".{....|
|00003ce0| 00 09 ff ff ff ff ff ff | ff ff 00 23 00 00 00 a0 |........|...#....|
|00003cf0| 00 c4 00 a1 00 64 00 0a | 4f 4e 4c 4e 00 66 00 00 |.....d..|ONLN.f..|
|00003d00| 01 fe 00 a0 00 8c 00 a1 | 00 64 00 31 64 72 77 32 |........|.d.1drw2|
|00003d10| 00 02 01 c9 00 2d 01 e1 | 01 5f 00 00 80 00 00 00 |.....-..|._......|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00003d30| ff ff ff ff 00 01 00 00 | 01 8f 00 00 00 00 00 a1 |........|........|
|00003d40| 00 96 00 0c 01 00 00 00 | 02 78 00 00 00 00 00 00 |........|.x......|
|00003d50| 00 a1 00 64 00 10 64 72 | 77 32 00 3a 00 05 00 00 |...d..dr|w2.:....|
|00003d60| 00 00 00 01 00 00 00 a1 | 00 64 00 0e 64 72 77 32 |........|.d..drw2|
|00003d70| 00 3a 00 02 00 24 00 00 | 00 00 00 a1 00 64 00 34 |.:...$..|.....d.4|
|00003d80| 64 72 77 32 00 3a 00 01 | 00 03 01 00 00 18 00 00 |drw2.:..|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 01 00 01 00 01 00 01 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 a1 00 9a | 00 08 ff fa 00 00 00 97 |........|........|
|00003dc0| 40 00 00 a0 00 98 00 2c | 00 08 00 14 05 54 69 6d |@......,|.....Tim|
|00003dd0| 65 73 00 03 00 14 00 04 | 01 00 00 0d 00 18 00 2e |es......|........|
|00003de0| 00 04 00 00 01 00 00 10 | 00 52 01 c9 00 52 01 c9 |........|.R...R..|
|00003df0| 00 2b 5d 42 13 4e 65 77 | 20 54 65 63 68 6e 69 63 |.+]B.New| Technic|
|00003e00| 61 6c 20 4e 6f 74 65 73 | 00 a0 00 99 00 a1 00 64 |al Notes|.......d|
|00003e10| 00 08 64 72 77 32 00 3a | 00 04 00 a1 14 e3 00 02 |..drw2.:|........|
|00003e20| 00 01 00 a0 00 97 00 a1 | 00 64 00 31 64 72 77 32 |........|.d.1drw2|
|00003e30| 00 02 02 06 01 65 02 19 | 01 f4 00 00 80 00 00 00 |.....e..|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00003e50| ff ff ff ff 00 01 00 00 | 01 50 00 00 00 00 00 a1 |........|.P......|
|00003e60| 00 96 00 0c 01 00 00 00 | 02 78 00 00 00 00 00 00 |........|.x......|
|00003e70| 00 a1 00 64 00 10 64 72 | 77 32 00 3a 00 05 00 00 |...d..dr|w2.:....|
|00003e80| 00 00 00 01 00 00 00 a1 | 00 64 00 0e 64 72 77 32 |........|.d..drw2|
|00003e90| 00 3a 00 02 00 24 00 00 | 00 00 00 a1 00 64 00 34 |.:...$..|.....d.4|
|00003ea0| 64 72 77 32 00 3a 00 01 | 00 03 00 00 00 12 00 00 |drw2.:..|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 01 00 01 00 01 00 01 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 a1 00 9a | 00 08 ff fb 80 00 00 45 |........|.......E|
|00003ee0| c0 00 00 a0 00 98 00 04 | 00 00 00 0d 00 12 00 28 |........|.......(|
|00003ef0| 00 7b 01 95 11 44 65 76 | 65 6c 6f 70 65 72 20 53 |.{...Dev|eloper S|
|00003f00| 75 70 70 6f 72 74 00 a0 | 00 99 00 a1 00 64 00 08 |upport..|.....d..|
|00003f10| 64 72 77 32 00 3a 00 04 | 00 a1 14 e3 00 02 00 01 |drw2.:..|........|
|00003f20| 00 a0 00 97 00 a1 00 64 | 00 60 64 72 77 32 00 03 |.......d|.`drw2..|
|00003f30| 02 00 00 2d 02 00 01 ef | 00 00 00 00 00 00 00 00 |...-....|........|
|00003f40| 02 02 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00003f50| ff ff 00 01 00 01 08 4b | 00 00 00 00 02 00 01 ef |.......K|........|
|00003f60| 02 00 00 2d 00 00 00 00 | 00 00 00 00 00 01 00 14 |...-....|........|
|00003f70| 00 0c 00 03 00 02 00 00 | 00 5a 00 01 00 00 00 02 |........|.Z......|
|00003f80| 00 00 00 03 00 0c 00 00 | 00 00 00 07 00 02 00 02 |........|........|
|00003f90| 00 08 00 08 00 20 00 66 | 02 1c 00 66 00 5a 00 a1 |..... .f|...f.Z..|
|00003fa0| 00 64 00 31 64 72 77 32 | 00 02 01 ca 01 c0 01 fa |.d.1drw2|........|
|00003fb0| 01 e9 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 ff ff | ff ff ff ff 00 01 00 00 |........|........|
|00003fd0| 01 4b 00 00 00 00 00 a1 | 00 96 00 0c 01 00 00 00 |.K......|........|
|00003fe0| 02 78 00 00 00 00 00 00 | 00 a1 00 64 00 10 64 72 |.x......|...d..dr|
|00003ff0| 77 32 00 3a 00 05 00 00 | 00 00 00 01 00 00 00 a1 |w2.:....|........|
|00004000| 00 64 00 0e 64 72 77 32 | 00 3a 00 02 00 24 00 00 |.d..drw2|.:...$..|
|00004010| 00 00 00 a1 00 64 00 34 | 64 72 77 32 00 3a 00 01 |.....d.4|drw2.:..|
|00004020| 00 03 00 00 00 30 00 00 | 00 00 00 00 00 00 00 00 |.....0..|........|
|00004030| 00 01 00 01 00 01 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a1 00 9a |........|........|
|00004050| 00 08 ff f4 00 00 00 13 | 80 00 00 a0 00 98 00 0d |........|........|
|00004060| 00 30 00 28 00 55 01 ef | 01 f0 00 a0 00 99 00 a1 |.0.(.U..|........|
|00004070| 00 64 00 08 64 72 77 32 | 00 3a 00 04 00 a1 14 e3 |.d..drw2|.:......|
|00004080| 00 02 00 01 00 a0 00 97 | 00 a1 00 64 00 31 64 72 |........|...d.1dr|
|00004090| 77 32 00 02 01 ef 01 e6 | 01 fa 01 f0 00 00 00 00 |w2......|........|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| ff ff ff ff ff ff 00 01 | 00 00 01 00 00 00 00 00 |........|........|
|000040c0| 00 a1 00 96 00 0c 01 00 | 00 00 02 78 00 00 00 00 |........|...x....|
|000040d0| 00 00 00 a1 00 64 00 10 | 64 72 77 32 00 3a 00 05 |.....d..|drw2.:..|
|000040e0| 00 00 00 00 00 01 00 00 | 00 a1 00 64 00 0e 64 72 |........|...d..dr|
|000040f0| 77 32 00 3a 00 02 00 24 | 00 00 00 00 00 a1 00 64 |w2.:...$|.......d|
|00004100| 00 34 64 72 77 32 00 3a | 00 01 00 03 00 00 00 09 |.4drw2.:|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 01 00 01 |........|........|
|00004120| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004130| 00 00 00 00 00 00 00 a1 | 00 9a 00 08 ff fd 80 00 |........|........|
|00004140| 00 04 00 00 00 a0 00 98 | 00 0d 00 09 00 2b 26 09 |........|.....+&.|
|00004150| 01 a8 00 a0 00 99 00 a1 | 00 64 00 08 64 72 77 32 |........|.d..drw2|
|00004160| 00 3a 00 04 00 a1 14 e3 | 00 02 00 01 00 a0 00 97 |.:......|........|
|00004170| 00 a1 00 64 00 31 64 72 | 77 32 00 02 01 e5 00 2d |...d.1dr|w2.....-|
|00004180| 01 f8 00 79 00 00 00 00 | 00 00 00 00 00 00 00 00 |...y....|........|
|00004190| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff 00 01 |........|........|
|000041a0| 00 01 01 00 00 00 01 00 | 00 a1 00 96 00 0c 01 00 |........|........|
|000041b0| 00 00 02 78 00 00 00 00 | 00 00 00 a1 00 64 00 10 |...x....|.....d..|
|000041c0| 64 72 77 32 00 3a 00 05 | 00 00 00 00 00 01 00 00 |drw2.:..|........|
|000041d0| 00 a1 00 64 00 0e 64 72 | 77 32 00 3a 00 02 00 24 |...d..dr|w2.:...$|
|000041e0| 00 00 00 00 00 a1 00 64 | 00 34 64 72 77 32 00 3a |.......d|.4drw2.:|
|000041f0| 00 01 00 03 00 00 00 12 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 00 00 00 01 00 01 00 01 | 00 01 00 00 00 00 00 00 |........|........|
|00004210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 a1 |........|........|
|00004220| 00 9a 00 08 ff fb 80 00 | 00 25 00 00 00 a0 00 98 |........|.%......|
|00004230| 00 0d 00 12 00 28 00 5a | 00 5c 09 4d 61 63 69 6e |.....(.Z|.\.Macin|
|00004240| 74 6f 73 68 00 a0 00 99 | 00 a1 00 64 00 08 64 72 |tosh....|...d..dr|
|00004250| 77 32 00 3a 00 04 00 a1 | 14 e3 00 02 00 01 00 a0 |w2.:....|........|
|00004260| 00 97 00 a0 00 8d 00 a1 | 00 64 00 06 64 72 77 32 |........|.d..drw2|
|00004270| 00 44 00 a0 00 83 00 01 | 00 0a 00 00 00 00 03 48 |.D......|.......H|
|00004280| 02 52 00 04 01 00 00 2e | 00 04 00 00 00 00 00 10 |.R......|........|
|00004290| 00 01 00 01 00 01 00 01 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|000042a0| 4c 4e 00 64 00 00 00 8d | 00 5a 00 a0 01 39 00 28 |LN.d....|.Z...9.(|
|000042b0| 00 9b 00 5a 17 4e 57 20 | 32 32 20 2d 20 53 4e 4d |...Z.NW |22 - SNM|
|000042c0| 50 20 54 72 61 6e 73 70 | 6f 72 74 73 00 0d 00 0e |P Transp|orts....|
|000042d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 18 00 9f |...d..ON|LN.d....|
|000042e0| 00 5a 00 ae 00 a8 00 2a | 10 0a 4e 65 74 77 6f 72 |.Z.....*|..Networ|
|000042f0| 6b 69 6e 67 00 04 00 00 | 00 0d 00 0c 00 a1 00 64 |king....|.......d|
|00004300| 00 10 4f 4e 4c 4e 00 64 | 00 24 00 ba 00 5a 00 c6 |..ONLN.d|.$...Z..|
|00004310| 00 8f 00 2a 18 0b 57 72 | 69 74 74 65 6e 20 62 79 |...*..Wr|itten by|
|00004320| 3a 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 30 |:....d..|ONLN.d.0|
|00004330| 00 ba 00 a2 00 c6 01 30 | 00 29 48 1d 4d 69 6b 65 |.......0|.)H.Mike|
|00004340| 20 52 69 74 74 65 72 20 | 61 6e 64 20 56 69 6e 63 | Ritter |and Vinc|
|00004350| 65 6e 74 20 4c 75 62 65 | 74 00 00 a1 00 64 00 10 |ent Lube|t....d..|
|00004360| 4f 4e 4c 4e 00 64 00 4e | 00 ba 01 eb 00 c6 02 1c |ONLN.d.N|........|
|00004370| 00 28 00 c3 01 eb 09 4a | 75 6e 65 20 31 39 39 33 |.(.....J|une 1993|
|00004380| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 58 00 d2 |...d..ON|LN.d.X..|
|00004390| 00 5a 00 de 01 25 00 28 | 00 db 00 5a 2a 54 68 69 |.Z...%.(|...Z*Thi|
|000043a0| 73 20 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |s Techni|cal Note|
|000043b0| 20 65 78 70 6c 61 69 6e | 73 20 68 6f 77 20 74 6f | explain|s how to|
|000043c0| 20 77 72 69 74 65 20 00 | 00 06 00 01 00 00 00 a1 | write .|........|
|000043d0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 82 00 d2 01 25 |.d..ONLN|.d.....%|
|000043e0| 00 de 02 1c 00 29 cb 2c | 61 6e 20 53 4e 4d 50 20 |.....).,|an SNMP |
|000043f0| 28 53 69 6d 70 6c 65 20 | 4e 65 74 77 6f 72 6b 20 |(Simple |Network |
|00004400| 4d 61 6e 61 67 65 6d 65 | 6e 74 20 50 72 6f 74 6f |Manageme|nt Proto|
|00004410| 63 6f 6c 29 00 06 00 04 | 00 00 00 a1 00 64 00 10 |col)....|.....d..|
|00004420| 4f 4e 4c 4e 00 64 00 af | 00 de 00 5a 00 ea 01 66 |ONLN.d..|...Z...f|
|00004430| 00 28 00 e7 00 5a 30 54 | 72 61 6e 73 70 6f 72 74 |.(...Z0T|ransport|
|00004440| 2e 20 41 6e 20 53 4e 4d | 50 20 54 72 61 6e 73 70 |. An SNM|P Transp|
|00004450| 6f 72 74 20 69 73 20 72 | 65 73 70 6f 6e 73 69 62 |ort is r|esponsib|
|00004460| 6c 65 20 66 6f 72 20 00 | 00 06 00 05 00 00 00 a1 |le for .|........|
|00004470| 00 64 00 10 4f 4e 4c 4e | 00 64 00 df 00 de 01 66 |.d..ONLN|.d.....f|
|00004480| 00 ea 02 1c 00 28 00 e7 | 01 66 1e 63 6f 6d 6d 75 |.....(..|.f.commu|
|00004490| 6e 69 63 61 74 69 6e 67 | 20 62 65 74 77 65 65 6e |nicating| between|
|000044a0| 20 74 68 65 20 53 4e 4d | 50 00 00 06 00 00 00 00 | the SNM|P.......|
|000044b0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 fe 00 ea |...d..ON|LN.d....|
|000044c0| 00 5a 00 f6 01 b5 00 28 | 00 f3 00 5a 48 4d 61 6e |.Z.....(|...ZHMan|
|000044d0| 61 67 65 72 20 61 6e 64 | 20 61 20 70 61 72 74 69 |ager and| a parti|
|000044e0| 63 75 6c 61 72 20 6e 65 | 74 77 6f 72 6b 20 6c 61 |cular ne|twork la|
|000044f0| 79 65 72 2e 20 54 68 75 | 73 2c 20 69 66 20 79 6f |yer. Thu|s, if yo|
|00004500| 75 20 77 65 72 65 20 77 | 72 69 74 69 6e 67 20 61 |u were w|riting a|
|00004510| 20 6e 65 77 20 00 00 06 | 00 01 00 00 00 a1 00 64 | new ...|.......d|
|00004520| 00 10 4f 4e 4c 4e 00 64 | 01 46 00 ea 01 b5 00 f6 |..ONLN.d|.F......|
|00004530| 02 1c 00 28 00 f3 01 b5 | 15 6e 65 74 77 6f 72 6b |...(....|.network|
|00004540| 20 73 74 61 63 6b 20 66 | 6f 72 20 74 68 65 00 06 | stack f|or the..|
|00004550| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004560| 01 5c 00 f6 00 5a 01 02 | 01 54 00 28 00 ff 00 5a |.\...Z..|.T.(...Z|
|00004570| 31 4d 61 63 69 6e 74 6f | 73 68 20 61 6e 64 20 77 |1Macinto|sh and w|
|00004580| 61 6e 74 65 64 20 69 74 | 20 74 6f 20 75 73 65 20 |anted it| to use |
|00004590| 74 68 65 20 53 4e 4d 50 | 20 4d 61 6e 61 67 65 72 |the SNMP| Manager|
|000045a0| 2c 20 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |, ......|...d..ON|
|000045b0| 4c 4e 00 64 01 8d 00 f6 | 01 54 01 02 02 1c 00 29 |LN.d....|.T.....)|
|000045c0| fa 25 79 6f 75 20 77 6f | 75 6c 64 20 77 72 69 74 |.%you wo|uld writ|
|000045d0| 65 20 61 6e 20 53 4e 4d | 50 20 54 72 61 6e 73 70 |e an SNM|P Transp|
|000045e0| 6f 72 74 20 66 6f 72 00 | 00 06 00 00 00 00 00 a1 |ort for.|........|
|000045f0| 00 64 00 10 4f 4e 4c 4e | 00 64 01 b3 01 02 00 5a |.d..ONLN|.d.....Z|
|00004600| 01 0e 00 b9 00 28 01 0b | 00 5a 13 79 6f 75 72 20 |.....(..|.Z.your |
|00004610| 6e 65 74 77 6f 72 6b 20 | 73 74 61 63 6b 2e 00 04 |network |stack...|
|00004620| 01 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 c8 |.....d..|ONLN.d..|
|00004630| 01 1a 00 5a 01 26 00 80 | 00 2a 18 06 54 6f 70 69 |...Z.&..|.*..Topi|
|00004640| 63 73 00 04 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |cs......|.d..ONLN|
|00004650| 00 64 01 cf 01 26 00 75 | 01 32 01 4f 00 2b 1b 0c |.d...&.u|.2.O.+..|
|00004660| 2d a5 20 43 72 65 61 74 | 69 6e 67 20 61 6e 64 20 |-. Creat|ing and |
|00004670| 69 6e 69 74 69 61 6c 69 | 7a 69 6e 67 20 61 6e 20 |initiali|zing an |
|00004680| 53 4e 4d 50 20 54 72 61 | 6e 73 70 6f 72 74 00 04 |SNMP Tra|nsport..|
|00004690| 01 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 fd |.....d..|ONLN.d..|
|000046a0| 01 32 00 75 01 3e 01 4b | 00 2a 0c 22 a5 20 52 65 |.2.u.>.K|.*.". Re|
|000046b0| 61 64 69 6e 67 20 61 6e | 64 20 57 72 69 74 69 6e |ading an|d Writin|
|000046c0| 67 20 53 4e 4d 50 20 50 | 61 63 6b 65 74 73 00 07 |g SNMP P|ackets..|
|000046d0| 00 01 00 01 00 20 01 4a | 00 58 01 4a 02 1d 00 0d |..... .J|.X.J....|
|000046e0| 00 0e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 21 |.....d..|ONLN.d.!|
|000046f0| 01 63 00 5a 01 72 00 ad | 00 28 01 6f 00 5a 0c 49 |.c.Z.r..|.(.o.Z.I|
|00004700| 6e 74 72 6f 64 75 63 74 | 69 6f 6e 00 00 04 00 00 |ntroduct|ion.....|
|00004710| 00 0d 00 0c 00 06 00 01 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00004720| 4f 4e 4c 4e 00 64 02 2e | 01 7e 00 5a 01 8a 01 dc |ONLN.d..|.~.Z....|
|00004730| 00 2a 18 4c 49 74 20 69 | 73 20 61 73 73 75 6d 65 |.*.LIt i|s assume|
|00004740| 64 20 69 6e 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |d in thi|s docume|
|00004750| 6e 74 20 74 68 61 74 20 | 79 6f 75 20 75 6e 64 65 |nt that |you unde|
|00004760| 72 73 74 61 6e 64 20 4d | 61 63 53 4e 4d 50 2c 20 |rstand M|acSNMP, |
|00004770| 6f 62 6a 65 63 74 2d 6f | 72 69 65 6e 74 65 64 20 |object-o|riented |
|00004780| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004790| 00 64 02 7a 01 7e 01 dc | 01 8a 02 1c 00 28 01 87 |.d.z.~..|.....(..|
|000047a0| 01 dc 0b 70 72 6f 67 72 | 61 6d 6d 69 6e 67 00 a1 |...progr|amming..|
|000047b0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 86 01 8a 00 5a |.d..ONLN|.d.....Z|
|000047c0| 01 96 00 70 00 28 01 93 | 00 5a 04 61 6e 64 20 00 |...p.(..|.Z.and .|
|000047d0| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000047e0| 00 64 02 8a 01 8a 00 70 | 01 96 02 1c 00 29 16 4e |.d.....p|.....).N|
|000047f0| 74 68 65 20 53 68 61 72 | 65 64 20 4c 69 62 72 61 |the Shar|ed Libra|
|00004800| 72 79 20 4d 61 6e 61 67 | 65 72 2e 20 54 68 65 20 |ry Manag|er. The |
|00004810| 53 4e 4d 50 20 4d 61 6e | 61 67 65 72 20 69 73 20 |SNMP Man|ager is |
|00004820| 62 75 69 6c 74 20 75 73 | 69 6e 67 20 74 68 65 20 |built us|ing the |
|00004830| 53 68 61 72 65 64 20 4c | 69 62 72 61 72 79 00 06 |Shared L|ibrary..|
|00004840| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004850| 02 d9 01 96 00 5a 01 a2 | 01 29 00 28 01 9f 00 5a |.....Z..|.).(...Z|
|00004860| 2a 4d 61 6e 61 67 65 72 | 20 61 6e 64 20 69 73 20 |*Manager| and is |
|00004870| 61 20 73 65 74 20 6f 66 | 20 73 68 61 72 65 64 20 |a set of| shared |
|00004880| 6c 69 62 72 61 72 69 65 | 73 2e 20 00 00 06 00 03 |librarie|s. .....|
|00004890| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 03 |.....d..|ONLN.d..|
|000048a0| 01 96 01 29 01 a2 02 1c | 00 29 cf 2c 54 68 65 20 |...)....|.).,The |
|000048b0| 53 4e 4d 50 20 4d 61 6e | 61 67 65 72 20 73 68 61 |SNMP Man|ager sha|
|000048c0| 72 65 64 20 6c 69 62 72 | 61 72 79 20 63 6f 6e 74 |red libr|ary cont|
|000048d0| 61 69 6e 73 20 74 68 65 | 00 06 00 00 00 00 00 a1 |ains the|........|
|000048e0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 30 01 a2 00 5a |.d..ONLN|.d.0...Z|
|000048f0| 01 ae 01 dd 00 28 01 ab | 00 5a 4f 69 6d 70 6c 65 |.....(..|.ZOimple|
|00004900| 6d 65 6e 74 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |mentatio|n of the|
|00004910| 20 62 61 73 65 20 63 6c | 61 73 73 20 66 6f 72 20 | base cl|ass for |
|00004920| 61 6e 20 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |an SNMP |Transpor|
|00004930| 74 2e 20 59 6f 75 72 20 | 74 72 61 6e 73 70 6f 72 |t. Your |transpor|
|00004940| 74 20 6d 75 73 74 20 62 | 65 20 00 06 00 01 00 00 |t must b|e ......|
|00004950| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 7f 01 a2 |...d..ON|LN.d....|
|00004960| 01 dd 01 ae 02 1c 00 28 | 01 ab 01 dd 0d 61 20 73 |.......(|.....a s|
|00004970| 75 62 63 6c 61 73 73 20 | 6f 66 00 06 00 02 00 00 |ubclass |of......|
|00004980| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 8d 01 ae |...d..ON|LN.d....|
|00004990| 00 5a 01 ba 00 ff 00 28 | 01 b7 00 5a 1f 74 68 69 |.Z.....(|...Z.thi|
|000049a0| 73 20 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |s SNMP T|ransport|
|000049b0| 20 63 6c 61 73 73 2e 20 | 46 6f 72 20 00 06 00 03 | class. |For ....|
|000049c0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 ac |.....d..|ONLN.d..|
|000049d0| 01 ae 00 ff 01 ba 02 1c | 00 29 a5 32 6d 6f 72 65 |........|.).2more|
|000049e0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|000049f0| 4d 61 63 53 4e 4d 50 20 | 61 6e 64 20 74 68 65 20 |MacSNMP |and the |
|00004a00| 53 68 61 72 65 64 20 4c | 69 62 72 61 72 79 00 06 |Shared L|ibrary..|
|00004a10| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004a20| 03 df 01 ba 00 5a 01 c6 | 00 ff 00 28 01 c3 00 5a |.....Z..|...(...Z|
|00004a30| 1e 4d 61 6e 61 67 65 72 | 20 73 65 65 20 74 68 65 |.Manager| see the|
|00004a40| 20 45 2e 54 2e 4f 2e 20 | 43 44 20 52 4f 4d 2e 00 | E.T.O. |CD ROM..|
|00004a50| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 fe 01 d2 |...d..ON|LN.d....|
|00004a60| 00 5a 01 de 01 59 00 2a | 18 34 54 68 69 73 20 54 |.Z...Y.*|.4This T|
|00004a70| 65 63 68 20 4e 6f 74 65 | 20 70 72 6f 76 69 64 65 |ech Note| provide|
|00004a80| 73 20 73 6f 6d 65 20 61 | 64 64 69 74 69 6f 6e 61 |s some a|dditiona|
|00004a90| 6c 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 00 06 |l inform|ation ..|
|00004aa0| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004ab0| 04 32 01 d2 01 59 01 de | 02 1c 00 29 ff 25 6e 65 |.2...Y..|...).%ne|
|00004ac0| 65 64 65 64 20 74 6f 20 | 63 6f 6e 73 74 72 75 63 |eded to |construc|
|00004ad0| 74 20 61 6e 20 53 4e 4d | 50 20 54 72 61 6e 73 70 |t an SNM|P Transp|
|00004ae0| 6f 72 74 00 00 06 00 02 | 00 00 00 a1 00 64 00 10 |ort.....|.....d..|
|00004af0| 4f 4e 4c 4e 00 64 04 58 | 01 de 00 5a 01 ea 01 2e |ONLN.d.X|...Z....|
|00004b00| 00 28 01 e7 00 5a 28 66 | 6f 72 20 61 20 70 61 72 |.(...Z(f|or a par|
|00004b10| 74 69 63 75 6c 61 72 20 | 6e 65 74 77 6f 72 6b 20 |ticular |network |
|00004b20| 73 74 61 63 6b 2e 20 41 | 6e 20 53 4e 4d 50 20 00 |stack. A|n SNMP .|
|00004b30| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004b40| 00 64 04 80 01 de 01 2e | 01 ea 02 1c 00 29 d4 2e |.d......|.....)..|
|00004b50| 54 72 61 6e 73 70 6f 72 | 74 20 69 73 20 72 65 71 |Transpor|t is req|
|00004b60| 75 69 72 65 64 20 74 6f | 20 6b 6e 6f 77 20 61 62 |uired to| know ab|
|00004b70| 6f 75 74 20 61 6c 6c 20 | 6f 66 20 74 68 65 00 06 |out all |of the..|
|00004b80| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004b90| 04 af 01 ea 00 5a 01 f6 | 01 11 00 28 01 f3 00 5a |.....Z..|...(...Z|
|00004ba0| 26 73 70 65 63 69 66 69 | 63 20 69 64 69 6f 73 79 |&specifi|c idiosy|
|00004bb0| 6e 63 72 61 73 69 65 73 | 20 6f 66 20 53 4e 4d 50 |ncrasies| of SNMP|
|00004bc0| 20 66 6f 72 20 61 20 00 | 00 06 00 01 00 00 00 a1 | for a .|........|
|00004bd0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 d5 01 ea 01 11 |.d..ONLN|.d......|
|00004be0| 01 f6 02 1c 00 29 b7 35 | 70 61 72 74 69 63 75 6c |.....).5|particul|
|00004bf0| 61 72 20 6e 65 74 77 6f | 72 6b 20 73 74 61 63 6b |ar netwo|rk stack|
|00004c00| 2e 20 53 4e 4d 50 20 77 | 61 73 20 6f 72 69 67 69 |. SNMP w|as origi|
|00004c10| 6e 61 6c 6c 79 20 64 65 | 66 69 6e 65 64 00 00 a1 |nally de|fined...|
|00004c20| 00 64 00 10 4f 4e 4c 4e | 00 64 05 0b 01 f6 00 5a |.d..ONLN|.d.....Z|
|00004c30| 02 02 01 f4 00 28 01 ff | 00 5a 50 74 6f 20 72 75 |.....(..|.ZPto ru|
|00004c40| 6e 20 6f 76 65 72 20 74 | 68 65 20 54 43 50 20 73 |n over t|he TCP s|
|00004c50| 74 61 63 6b 20 75 73 69 | 6e 67 20 55 44 50 2e 20 |tack usi|ng UDP. |
|00004c60| 54 68 65 20 49 45 54 46 | 20 28 49 6e 74 65 72 6e |The IETF| (Intern|
|00004c70| 65 74 20 45 6e 67 69 6e | 65 65 72 69 6e 67 20 54 |et Engin|eering T|
|00004c80| 61 73 6b 20 46 6f 72 63 | 65 29 20 00 00 06 00 02 |ask Forc|e) .....|
|00004c90| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 5b |.....d..|ONLN.d.[|
|00004ca0| 01 f6 01 f4 02 02 02 1c | 00 28 01 ff 01 f4 08 68 |........|.(.....h|
|00004cb0| 61 73 20 61 6c 73 6f 00 | 00 06 00 00 00 00 00 a1 |as also.|........|
|00004cc0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 64 02 02 00 5a |.d..ONLN|.d.d...Z|
|00004cd0| 02 0e 00 b7 00 28 02 0b | 00 5a 13 64 65 66 69 6e |.....(..|.Z.defin|
|00004ce0| 65 64 20 68 6f 77 20 74 | 6f 20 72 75 6e 20 00 06 |ed how t|o run ..|
|00004cf0| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004d00| 05 77 02 02 00 b7 02 0e | 02 1c 00 29 5d 44 53 4e |.w......|...)]DSN|
|00004d10| 4d 50 20 6f 76 65 72 20 | 74 68 72 65 65 20 6f 74 |MP over |three ot|
|00004d20| 68 65 72 20 6e 65 74 77 | 6f 72 6b 20 73 74 61 63 |her netw|ork stac|
|00004d30| 6b 73 3a 20 41 70 70 6c | 65 54 61 6c 6b 2c 20 49 |ks: Appl|eTalk, I|
|00004d40| 50 58 2c 20 61 6e 64 20 | 4f 53 49 2e 20 54 68 65 |PX, and |OSI. The|
|00004d50| 73 65 00 06 00 05 00 00 | 00 a1 00 64 00 10 4f 4e |se......|...d..ON|
|00004d60| 4c 4e 00 64 05 bc 02 0e | 00 5a 02 1a 01 60 00 28 |LN.d....|.Z...`.(|
|00004d70| 02 17 00 5a 2c 6d 65 74 | 68 6f 64 73 20 61 72 65 |...Z,met|hods are|
|00004d80| 20 64 6f 63 75 6d 65 6e | 74 65 64 20 62 79 20 74 | documen|ted by t|
|00004d90| 68 65 20 49 45 54 46 20 | 70 72 6f 70 6f 73 65 64 |he IETF |proposed|
|00004da0| 20 00 00 06 00 06 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00004db0| 4c 4e 00 64 05 e8 02 0e | 01 60 02 1a 02 1c 00 28 |LN.d....|.`.....(|
|00004dc0| 02 17 01 60 1d 73 74 61 | 6e 64 61 72 64 73 3a 20 |...`.sta|ndards: |
|00004dd0| 52 46 43 20 31 34 31 39 | d1 53 4e 4d 50 20 6f 76 |RFC 1419|.SNMP ov|
|00004de0| 65 72 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |er......|...d..ON|
|00004df0| 4c 4e 00 64 06 06 02 1a | 00 5a 02 26 01 cf 00 28 |LN.d....|.Z.&...(|
|00004e00| 02 23 00 5a 3f 41 70 70 | 6c 65 54 61 6c 6b 2c 20 |.#.Z?App|leTalk, |
|00004e10| 52 46 43 20 31 34 32 30 | d1 53 4e 4d 50 20 6f 76 |RFC 1420|.SNMP ov|
|00004e20| 65 72 20 49 50 58 2c 20 | 61 6e 64 20 52 46 43 20 |er IPX, |and RFC |
|00004e30| 31 34 31 38 d1 53 4e 4d | 50 20 6f 76 65 72 20 4f |1418.SNM|P over O|
|00004e40| 53 49 2e 20 00 06 00 01 | 00 00 00 a1 00 64 00 10 |SI. ....|.....d..|
|00004e50| 4f 4e 4c 4e 00 64 06 45 | 02 1a 01 cf 02 26 02 1c |ONLN.d.E|.....&..|
|00004e60| 00 28 02 23 01 cf 10 54 | 68 65 72 65 20 69 73 20 |.(.#...T|here is |
|00004e70| 61 6c 73 6f 20 61 6e 00 | 00 06 00 00 00 00 00 a1 |also an.|........|
|00004e80| 00 64 00 10 4f 4e 4c 4e | 00 64 06 56 02 26 00 5a |.d..ONLN|.d.V.&.Z|
|00004e90| 02 32 00 b6 00 28 02 2f | 00 5a 12 69 6e 66 6f 72 |.2...(./|.Z.infor|
|00004ea0| 6d 61 74 69 6f 6e 61 6c | 20 52 46 43 20 00 00 06 |mational| RFC ...|
|00004eb0| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004ec0| 06 68 02 26 00 b6 02 32 | 02 1c 00 29 5c 47 64 72 |.h.&...2|...)\Gdr|
|00004ed0| 61 66 74 20 74 68 61 74 | 20 64 65 73 63 72 69 62 |aft that| describ|
|00004ee0| 65 73 20 77 68 61 74 20 | 6d 75 73 74 20 62 65 20 |es what |must be |
|00004ef0| 64 65 66 69 6e 65 64 20 | 74 6f 20 61 6c 6c 6f 77 |defined |to allow|
|00004f00| 20 53 4e 4d 50 20 74 6f | 20 72 75 6e 20 6f 76 65 | SNMP to| run ove|
|00004f10| 72 20 61 6e 79 00 00 06 | 00 00 00 00 00 a1 00 64 |r any...|.......d|
|00004f20| 00 10 4f 4e 4c 4e 00 64 | 06 b0 02 32 00 5a 02 3e |..ONLN.d|...2.Z.>|
|00004f30| 00 cf 00 28 02 3b 00 5a | 19 70 61 72 74 69 63 75 |...(.;.Z|.particu|
|00004f40| 6c 61 72 20 6e 65 74 77 | 6f 72 6b 20 73 74 61 63 |lar netw|ork stac|
|00004f50| 6b 2e 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |k.......|...d..ON|
|00004f60| 4c 4e 00 64 06 ca 02 4a | 00 5a 02 56 00 cc 00 2a |LN.d...J|.Z.V...*|
|00004f70| 18 14 41 70 70 6c 65 20 | 70 72 6f 76 69 64 65 73 |..Apple |provides|
|00004f80| 20 53 4e 4d 50 20 00 06 | 00 02 00 00 00 a1 00 64 | SNMP ..|.......d|
|00004f90| 00 10 4f 4e 4c 4e 00 64 | 06 de 02 4a 00 cc 02 56 |..ONLN.d|...J...V|
|00004fa0| 02 1c 00 29 72 42 74 72 | 61 6e 73 70 6f 72 74 73 |...)rBtr|ansports|
|00004fb0| 20 74 68 61 74 20 73 75 | 70 70 6f 72 74 20 74 68 | that su|pport th|
|00004fc0| 65 20 54 43 50 20 73 74 | 61 63 6b 20 61 6e 64 20 |e TCP st|ack and |
|00004fd0| 74 68 65 20 41 70 70 6c | 65 54 61 6c 6b 20 73 74 |the Appl|eTalk st|
|00004fe0| 61 63 6b 2e 20 54 68 65 | 00 06 00 00 00 00 00 a1 |ack. The|........|
|00004ff0| 00 64 00 10 4f 4e 4c 4e | 00 64 07 21 02 56 00 5a |.d..ONLN|.d.!.V.Z|
|00005000| 02 62 01 9c 00 28 02 5f | 00 5a 3f 54 43 50 20 53 |.b...(._|.Z?TCP S|
|00005010| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 20 70 72 |NMP Tran|sport pr|
|00005020| 6f 76 69 64 65 73 20 6b | 6e 6f 77 6c 65 64 67 65 |ovides k|nowledge|
|00005030| 20 6f 66 20 49 50 20 61 | 64 64 72 65 73 73 65 73 | of IP a|ddresses|
|00005040| 2c 20 6c 69 73 74 65 6e | 73 20 00 06 00 01 00 00 |, listen|s ......|
|00005050| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 60 02 56 |...d..ON|LN.d.`.V|
|00005060| 01 9c 02 62 02 1c 00 28 | 02 5f 01 9c 16 6f 6e 20 |...b...(|._...on |
|00005070| 74 68 65 20 77 65 6c 6c | 2d 6b 6e 6f 77 6e 20 53 |the well|-known S|
|00005080| 4e 4d 50 00 00 06 00 02 | 00 00 00 a1 00 64 00 10 |NMP.....|.....d..|
|00005090| 4f 4e 4c 4e 00 64 07 77 | 02 62 00 5a 02 6e 01 9b |ONLN.d.w|.b.Z.n..|
|000050a0| 00 28 02 6b 00 5a 3b 73 | 6f 63 6b 65 74 73 2c 20 |.(.k.Z;s|ockets, |
|000050b0| 73 65 6e 64 73 20 53 4e | 4d 50 20 70 61 63 6b 65 |sends SN|MP packe|
|000050c0| 74 73 20 6f 6e 20 55 44 | 50 2c 20 61 6e 64 20 72 |ts on UD|P, and r|
|000050d0| 65 73 6f 6c 76 65 73 20 | 61 64 64 72 65 73 73 65 |esolves |addresse|
|000050e0| 73 20 00 06 00 03 00 00 | 00 a1 00 64 00 10 4f 4e |s ......|...d..ON|
|000050f0| 4c 4e 00 64 07 b2 02 62 | 01 9b 02 6e 02 1c 00 28 |LN.d...b|...n...(|
|00005100| 02 6b 01 9b 1a 69 6e 20 | 64 6f 74 74 65 64 20 6e |.k...in |dotted n|
|00005110| 6f 74 61 74 69 6f 6e 20 | 69 6e 74 6f 20 49 50 00 |otation |into IP.|
|00005120| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005130| 00 64 07 cd 02 6f 00 5a | 02 7b 00 c4 00 28 02 78 |.d...o.Z|.{...(.x|
|00005140| 00 5a 16 61 64 64 72 65 | 73 73 65 73 20 66 6f 72 |.Z.addre|sses for|
|00005150| 20 73 65 6e 64 69 6e 67 | 20 00 00 2c 00 0a 00 16 | sending| ..,....|
|00005160| 07 43 6f 75 72 69 65 72 | 00 03 00 16 00 a1 00 64 |.Courier|.......d|
|00005170| 00 10 4f 4e 4c 4e 00 64 | 07 e3 02 6e 00 c4 02 7a |..ONLN.d|...n...z|
|00005180| 00 e7 00 29 6a 05 54 72 | 61 70 73 00 00 03 00 14 |...)j.Tr|aps.....|
|00005190| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 e8 02 6f |...d..ON|LN.d...o|
|000051a0| 00 e7 02 7b 01 27 00 29 | 23 0b 2e 20 28 41 6e 20 |...{.'.)|#.. (An |
|000051b0| 53 4e 4d 50 20 00 00 03 | 00 16 00 a1 00 64 00 10 |SNMP ...|.....d..|
|000051c0| 4f 4e 4c 4e 00 64 07 f3 | 02 6e 01 27 02 7a 01 43 |ONLN.d..|.n.'.z.C|
|000051d0| 00 29 40 04 54 72 61 70 | 00 03 00 14 00 a1 00 64 |.)@.Trap|.......d|
|000051e0| 00 10 4f 4e 4c 4e 00 64 | 07 f7 02 6f 01 43 02 7b |..ONLN.d|...o.C.{|
|000051f0| 01 c0 00 29 1c 19 20 69 | 73 20 74 68 65 20 6d 65 |...).. i|s the me|
|00005200| 74 68 6f 64 20 74 68 61 | 74 20 53 4e 4d 50 20 00 |thod tha|t SNMP .|
|00005210| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005220| 00 64 08 10 02 6f 01 c0 | 02 7b 02 1c 00 29 7d 14 |.d...o..|.{...)}.|
|00005230| 65 6e 74 69 74 69 65 73 | 20 75 73 65 20 74 6f 20 |entities| use to |
|00005240| 73 65 6e 64 00 06 00 02 | 00 00 00 a1 00 64 00 10 |send....|.....d..|
|00005250| 4f 4e 4c 4e 00 64 08 25 | 02 7b 00 5a 02 87 01 94 |ONLN.d.%|.{.Z....|
|00005260| 00 28 02 84 00 5a 3d 75 | 6e 73 6f 6c 69 63 69 74 |.(...Z=u|nsolicit|
|00005270| 65 64 20 77 61 72 6e 69 | 6e 67 20 6d 65 73 73 61 |ed warni|ng messa|
|00005280| 67 65 73 20 74 6f 20 65 | 61 63 68 20 6f 74 68 65 |ges to e|ach othe|
|00005290| 72 20 61 6e 64 20 73 68 | 6f 75 6c 64 20 6e 6f 74 |r and sh|ould not|
|000052a0| 20 62 65 20 00 06 00 03 | 00 00 00 a1 00 64 00 10 | be ....|.....d..|
|000052b0| 4f 4e 4c 4e 00 64 08 62 | 02 7b 01 94 02 87 02 1c |ONLN.d.b|.{......|
|000052c0| 00 28 02 84 01 94 19 63 | 6f 6e 66 75 73 65 64 20 |.(.....c|onfused |
|000052d0| 77 69 74 68 20 61 20 4d | 61 63 69 6e 74 6f 73 68 |with a M|acintosh|
|000052e0| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000052f0| 00 64 08 7c 02 87 00 5a | 02 93 01 d8 00 28 02 90 |.d.|...Z|.....(..|
|00005300| 00 5a 47 4f 70 65 72 61 | 74 69 6e 67 20 53 79 73 |.ZGOpera|ting Sys|
|00005310| 74 65 6d 20 54 72 61 70 | 2e 29 20 54 68 65 20 41 |tem Trap|.) The A|
|00005320| 70 70 6c 65 54 61 6c 6b | 20 53 4e 4d 50 20 54 72 |ppleTalk| SNMP Tr|
|00005330| 61 6e 73 70 6f 72 74 20 | 6c 69 6b 65 77 69 73 65 |ansport |likewise|
|00005340| 20 70 72 6f 76 69 64 65 | 73 20 00 06 00 03 00 00 | provide|s ......|
|00005350| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 08 c3 02 87 |...d..ON|LN.d....|
|00005360| 01 d8 02 93 02 1c 00 28 | 02 90 01 d8 0c 6b 6e 6f |.......(|.....kno|
|00005370| 77 6c 65 64 67 65 20 6f | 66 00 00 06 00 02 00 00 |wledge o|f.......|
|00005380| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 08 d0 02 93 |...d..ON|LN.d....|
|00005390| 00 5a 02 9f 01 72 00 28 | 02 9c 00 5a 34 41 70 70 |.Z...r.(|...Z4App|
|000053a0| 6c 65 54 61 6c 6b 20 61 | 64 64 72 65 73 73 65 73 |leTalk a|ddresses|
|000053b0| 2c 20 6c 69 73 74 65 6e | 73 20 6f 6e 20 74 68 65 |, listen|s on the|
|000053c0| 20 77 65 6c 6c 2d 6b 6e | 6f 77 6e 20 53 4e 4d 50 | well-kn|own SNMP|
|000053d0| 20 00 00 06 00 03 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|000053e0| 4c 4e 00 64 09 04 02 93 | 01 72 02 9f 02 1c 00 28 |LN.d....|.r.....(|
|000053f0| 02 9c 01 72 1e 73 6f 63 | 6b 65 74 73 2c 20 73 65 |...r.soc|kets, se|
|00005400| 6e 64 73 20 53 4e 4d 50 | 20 70 61 63 6b 65 74 73 |nds SNMP| packets|
|00005410| 20 6f 6e 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 | on....d|..ONLN.d|
|00005420| 09 23 02 9f 00 5a 02 ab | 01 03 00 28 02 a8 00 5a |.#...Z..|...(...Z|
|00005430| 1c 44 44 50 2c 20 61 6e | 64 20 72 65 73 6f 6c 76 |.DDP, an|d resolv|
|00005440| 65 73 20 4e 42 50 20 28 | 4e 61 6d 65 20 00 00 06 |es NBP (|Name ...|
|00005450| 00 04 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005460| 09 3f 02 9f 01 03 02 ab | 02 1c 00 29 a9 34 42 69 |.?......|...).4Bi|
|00005470| 6e 64 69 6e 67 20 50 72 | 6f 74 6f 63 6f 6c 29 20 |nding Pr|otocol) |
|00005480| 6e 61 6d 65 73 20 69 6e | 74 6f 20 41 70 70 6c 65 |names in|to Apple|
|00005490| 54 61 6c 6b 20 61 64 64 | 72 65 73 73 65 73 20 66 |Talk add|resses f|
|000054a0| 6f 72 00 20 02 c0 00 58 | 02 c0 02 1d 00 0d 00 0a |or. ...X|........|
|000054b0| 00 06 00 00 00 00 00 28 | 02 d5 00 5a 17 4e 57 20 |.......(|...Z.NW |
|000054c0| 32 32 20 2d 20 53 4e 4d | 50 20 54 72 61 6e 73 70 |22 - SNM|P Transp|
|000054d0| 6f 72 74 73 00 28 02 d5 | 02 04 01 31 00 29 05 05 |orts.(..|...1.)..|
|000054e0| 20 6f 66 20 39 00 00 28 | 02 eb 00 5a 0a 4e 65 74 | of 9..(|...Z.Net|
|000054f0| 77 6f 72 6b 69 6e 67 00 | 00 ff 00 a1 00 c0 01 f4 |working.|........|
|00005500| 25 25 44 53 49 44 49 43 | 54 3a 5f 63 76 0d 63 75 |%%DSIDIC|T:_cv.cu|
|00005510| 72 72 65 6e 74 64 69 63 | 74 20 2f 62 75 20 6b 6e |rrentdic|t /bu kn|
|00005520| 6f 77 6e 20 7b 62 75 7d | 69 66 0d 75 73 65 72 64 |own {bu}|if.userd|
|00005530| 69 63 74 20 2f 5f 63 76 | 20 6b 6e 6f 77 6e 20 6e |ict /_cv| known n|
|00005540| 6f 74 7b 75 73 65 72 64 | 69 63 74 20 2f 5f 63 76 |ot{userd|ict /_cv|
|00005550| 20 33 30 20 64 69 63 74 | 20 70 75 74 7d 69 66 0d | 30 dict| put}if.|
|00005560| 5f 63 76 20 62 65 67 69 | 6e 0d 2f 62 64 66 7b 62 |_cv begi|n./bdf{b|
|00005570| 69 6e 64 20 64 65 66 7d | 62 69 6e 64 20 64 65 66 |ind def}|bind def|
|00005580| 0d 63 75 72 72 65 6e 74 | 73 63 72 65 65 6e 2f 63 |.current|screen/c|
|00005590| 73 20 65 78 63 68 20 64 | 65 66 2f 63 61 20 65 78 |s exch d|ef/ca ex|
|000055a0| 63 68 20 64 65 66 2f 63 | 66 20 65 78 63 68 20 64 |ch def/c|f exch d|
|000055b0| 65 66 0d 2f 73 65 74 63 | 6d 79 6b 63 6f 6c 6f 72 |ef./setc|mykcolor|
|000055c0| 20 77 68 65 72 65 7b 2f | 73 65 74 63 6d 79 6b 63 | where{/|setcmykc|
|000055d0| 6f 6c 6f 72 20 67 65 74 | 20 2f 63 76 63 6d 79 6b |olor get| /cvcmyk|
|000055e0| 20 65 78 63 68 20 64 65 | 66 7d 7b 2f 63 76 63 6d | exch de|f}{/cvcm|
|000055f0| 79 6b 7b 31 20 73 75 62 | 20 34 20 31 20 72 6f 6c |yk{1 sub| 4 1 rol|
|00005600| 6c 20 33 7b 33 20 69 6e | 64 65 78 20 61 64 64 20 |l 3{3 in|dex add |
|00005610| 6e 65 67 20 64 75 70 20 | 30 20 6c 74 7b 70 6f 70 |neg dup |0 lt{pop|
|00005620| 20 30 7d 69 66 20 33 20 | 31 20 72 6f 6c 6c 7d 72 | 0}if 3 |1 roll}r|
|00005630| 65 70 65 61 74 20 73 65 | 74 72 67 62 63 6f 6c 6f |epeat se|trgbcolo|
|00005640| 72 20 70 6f 70 7d 62 64 | 66 20 7d 69 66 65 6c 73 |r pop}bd|f }ifels|
|00005650| 65 0d 2f 73 73 7b 2f 2f | 63 66 20 2f 2f 63 61 20 |e./ss{//|cf //ca |
|00005660| 2f 2f 63 73 20 73 65 74 | 73 63 72 65 65 6e 7d 62 |//cs set|screen}b|
|00005670| 64 66 0d 2f 73 74 67 7b | 73 73 20 73 65 74 67 72 |df./stg{|ss setgr|
|00005680| 61 79 7d 62 64 66 0d 2f | 73 74 72 67 62 7b 73 73 |ay}bdf./|strgb{ss|
|00005690| 20 73 65 74 72 67 62 63 | 6f 6c 6f 72 7d 62 64 66 | setrgbc|olor}bdf|
|000056a0| 0d 2f 73 74 63 6d 79 6b | 7b 73 73 20 63 76 63 6d |./stcmyk|{ss cvcm|
|000056b0| 79 6b 7d 62 64 66 0d 2f | 6d 69 6e 31 7b 64 75 70 |yk}bdf./|min1{dup|
|000056c0| 20 30 20 65 71 7b 70 6f | 70 20 31 7d 69 66 7d 62 | 0 eq{po|p 1}if}b|
|000056d0| 64 66 0d 65 6e 64 0d 63 | 75 72 72 65 6e 74 64 69 |df.end.c|urrentdi|
|000056e0| 63 74 20 2f 62 6e 20 6b | 6e 6f 77 6e 20 7b 62 6e |ct /bn k|nown {bn|
|000056f0| 7d 69 66 0d 00 a0 00 bf | 12 9e 00 00 00 00 03 48 |}if.....|.......H|
|00005700| 02 52 00 11 02 ff 0c 00 | ff ff ff ff 00 00 00 00 |.R......|........|
|00005710| 00 00 00 00 02 52 00 00 | 03 48 00 00 00 00 00 00 |.....R..|.H......|
|00005720| 00 1e 00 01 00 0a 00 00 | 00 00 03 48 02 52 00 2c |........|...H.R.,|
|00005730| 00 08 00 14 05 54 69 6d | 65 73 00 03 00 14 00 0d |.....Tim|es......|
|00005740| 00 0a 00 2e 00 04 00 00 | 00 00 00 2b 36 2d 19 4d |........|...+6-.M|
|00005750| 61 63 69 6e 74 6f 73 68 | 20 54 65 63 68 6e 69 63 |acintosh| Technic|
|00005760| 61 6c 20 4e 6f 74 65 73 | 00 20 00 2f 00 34 00 2f |al Notes|. ./.4./|
|00005770| 01 f9 00 0d 00 0c 00 06 | 00 03 00 00 00 a1 00 64 |........|.......d|
|00005780| 00 10 4f 4e 4c 4e 00 64 | 00 00 00 40 00 36 00 4c |..ONLN.d|...@.6.L|
|00005790| 00 61 00 2a 1c 08 73 65 | 6e 64 69 6e 67 20 00 2c |.a.*..se|nding .,|
|000057a0| 00 0a 00 16 07 43 6f 75 | 72 69 65 72 00 03 00 16 |.....Cou|rier....|
|000057b0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 08 00 3f |...d..ON|LN.d...?|
|000057c0| 00 61 00 4b 00 84 00 29 | 2b 05 54 72 61 70 73 00 |.a.K...)|+.Traps.|
|000057d0| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000057e0| 00 0d 00 40 00 84 00 4c | 01 0f 00 29 23 18 2e 20 |...@...L|...)#.. |
|000057f0| 53 69 6d 69 6c 61 72 6c | 79 2c 20 61 20 6e 65 77 |Similarl|y, a new|
|00005800| 20 53 4e 4d 50 20 00 06 | 00 04 00 00 00 a1 00 64 | SNMP ..|.......d|
|00005810| 00 10 4f 4e 4c 4e 00 64 | 00 25 00 40 01 0f 00 4c |..ONLN.d|.%.@...L|
|00005820| 01 f8 00 29 8b 2a 54 72 | 61 6e 73 70 6f 72 74 20 |...).*Tr|ansport |
|00005830| 77 6f 75 6c 64 20 68 61 | 76 65 20 74 6f 20 70 72 |would ha|ve to pr|
|00005840| 6f 76 69 64 65 20 74 68 | 65 73 65 20 73 61 6d 65 |ovide th|ese same|
|00005850| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005860| 00 64 00 50 00 4c 00 36 | 00 58 00 d8 00 28 00 55 |.d.P.L.6|.X...(.U|
|00005870| 00 36 20 73 65 72 76 69 | 63 65 73 3a 20 75 6e 64 |.6 servi|ces: und|
|00005880| 65 72 73 74 61 6e 64 69 | 6e 67 20 74 68 65 20 6e |erstandi|ng the n|
|00005890| 65 77 20 00 00 06 00 03 | 00 00 00 a1 00 64 00 10 |ew .....|.....d..|
|000058a0| 4f 4e 4c 4e 00 64 00 70 | 00 4c 00 d8 00 58 01 f8 |ONLN.d.p|.L...X..|
|000058b0| 00 29 a2 36 6e 65 74 77 | 6f 72 6b 20 61 64 64 72 |.).6netw|ork addr|
|000058c0| 65 73 73 65 73 2c 20 6c | 69 73 74 65 6e 69 6e 67 |esses, l|istening|
|000058d0| 20 66 6f 72 20 53 4e 4d | 50 20 70 61 63 6b 65 74 | for SNM|P packet|
|000058e0| 73 2c 20 73 65 6e 64 69 | 6e 67 00 06 00 02 00 00 |s, sendi|ng......|
|000058f0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 a7 00 58 |...d..ON|LN.d...X|
|00005900| 00 36 00 64 00 f1 00 28 | 00 61 00 36 23 53 4e 4d |.6.d...(|.a.6#SNM|
|00005910| 50 20 70 61 63 6b 65 74 | 73 2c 20 61 6e 64 20 72 |P packet|s, and r|
|00005920| 65 73 6f 6c 76 69 6e 67 | 20 73 74 6f 72 65 64 20 |esolving| stored |
|00005930| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005940| 00 64 00 ca 00 58 00 f1 | 00 64 01 f8 00 29 bb 32 |.d...X..|.d...).2|
|00005950| 63 6f 6e 73 6f 6c 65 20 | 61 64 64 72 65 73 73 65 |console |addresse|
|00005960| 73 20 74 6f 20 6e 65 74 | 77 6f 72 6b 20 61 64 64 |s to net|work add|
|00005970| 72 65 73 73 65 73 20 66 | 6f 72 20 73 65 6e 64 69 |resses f|or sendi|
|00005980| 6e 67 00 03 00 16 00 06 | 00 00 00 00 00 a1 00 64 |ng......|.......d|
|00005990| 00 10 4f 4e 4c 4e 00 64 | 00 fd 00 64 00 36 00 70 |..ONLN.d|...d.6.p|
|000059a0| 00 59 00 28 00 6e 00 36 | 05 54 72 61 70 73 00 03 |.Y.(.n.6|.Traps..|
|000059b0| 00 14 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 02 |.....d..|ONLN.d..|
|000059c0| 00 65 00 59 00 71 00 5d | 00 29 23 01 2e 00 00 04 |.e.Y.q.]|.)#.....|
|000059d0| 01 00 00 0d 00 0e 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000059e0| 00 64 01 04 00 89 00 36 | 00 98 00 ac 00 28 00 95 |.d.....6|.....(..|
|000059f0| 00 36 0f 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |.6.SNMP |Transpor|
|00005a00| 74 73 00 a0 00 82 00 a0 | 00 8c 00 a0 00 8c 00 01 |ts......|........|
|00005a10| 00 0a 00 a4 00 57 02 36 | 01 d7 00 07 00 04 00 04 |.....W.6|........|
|00005a20| 00 20 02 2a 01 c7 02 2a | 00 b6 00 22 02 2a 00 b3 |. .*...*|...".*..|
|00005a30| a5 00 00 07 00 01 00 01 | 00 22 02 14 00 ac 00 12 |........|."......|
|00005a40| 00 09 00 00 00 00 00 00 | 00 00 00 31 02 25 00 a2 |........|...1.%..|
|00005a50| 02 36 00 b7 00 09 ff ff | ff ff ff ff ff ff 00 38 |.6......|.......8|
|00005a60| 00 a0 00 8d 00 a0 00 8c | 00 09 00 00 00 00 00 00 |........|........|
|00005a70| 00 00 00 31 01 a3 00 75 | 01 c8 00 c8 00 07 00 02 |...1...u|........|
|00005a80| 00 02 00 09 ff ff ff ff | ff ff ff ff 00 30 01 a2 |........|.....0..|
|00005a90| 00 74 01 c9 00 c9 00 a1 | 00 96 00 0c 02 00 00 00 |.t......|........|
|00005aa0| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 00 03 |........|........|
|00005ab0| 00 00 00 18 00 00 00 01 | 00 0a 01 a9 00 88 01 c2 |........|........|
|00005ac0| 00 b9 00 2c 00 0b 00 10 | 08 50 61 6c 61 74 69 6e |...,....|.Palatin|
|00005ad0| 6f 00 00 03 00 10 00 04 | 00 00 00 0d 00 0c 00 2e |o.......|........|
|00005ae0| 00 04 00 00 01 00 00 10 | 01 92 01 80 01 9e 01 8c |........|........|
|00005af0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|00005b00| 00 00 00 00 00 00 00 28 | 01 b3 00 89 08 4e 65 74 |.......(|.....Net|
|00005b10| 77 6f 72 6b 0d 00 00 15 | 9b 02 00 a1 00 64 00 10 |work....|.....d..|
|00005b20| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00005b30| 00 2b 09 0e 05 4c 61 79 | 65 72 00 a0 00 97 00 01 |.+...Lay|er......|
|00005b40| 00 0a 00 a4 00 57 02 36 | 01 d7 00 09 00 00 00 00 |.....W.6|........|
|00005b50| 00 00 00 00 00 31 01 c8 | 00 75 01 ed 00 c8 00 09 |.....1..|.u......|
|00005b60| ff ff ff ff ff ff ff ff | 00 30 01 c7 00 74 01 ee |........|.0...t..|
|00005b70| 00 c9 00 a1 00 96 00 0c | 02 00 00 00 02 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 a1 00 9a | 00 08 00 03 00 00 00 18 |........|........|
|00005b90| 00 00 00 01 00 0a 01 ce | 00 87 01 e8 00 ba 00 15 |........|........|
|00005ba0| 22 e4 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |"....d..|ONLN.d..|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 28 01 d8 00 88 09 44 |........|.(.....D|
|00005bc0| 61 74 61 4c 69 6e 6b 0d | 00 15 41 08 00 a1 00 64 |ataLink.|..A....d|
|00005bd0| 00 10 4f 4e 4c 4e 00 64 | ff ff 00 00 00 00 00 00 |..ONLN.d|........|
|00005be0| 00 00 00 2b 0a 0d 05 4c | 61 79 65 72 00 a0 00 97 |...+...L|ayer....|
|00005bf0| 00 01 00 0a 00 a4 00 57 | 02 36 01 d7 00 09 00 00 |.......W|.6......|
|00005c00| 00 00 00 00 00 00 00 31 | 01 ee 00 75 02 13 00 c8 |.......1|...u....|
|00005c10| 00 09 ff ff ff ff ff ff | ff ff 00 30 01 ed 00 74 |........|...0...t|
|00005c20| 02 14 00 c9 00 a1 00 96 | 00 0c 02 00 00 00 02 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 a1 | 00 9a 00 08 00 02 00 00 |........|........|
|00005c40| 00 16 00 00 00 01 00 0a | 01 f4 00 8a 02 0d 00 b7 |........|........|
|00005c50| 00 15 c8 ea 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005c60| ff ff 00 00 00 00 00 00 | 00 00 00 28 01 fe 00 8b |........|...(....|
|00005c70| 09 50 68 79 73 69 63 61 | 6c 0d 00 15 b0 5c 00 a1 |.Physica|l....\..|
|00005c80| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00005c90| 00 00 00 00 00 2b 07 0d | 05 4c 61 79 65 72 00 a0 |.....+..|.Layer..|
|00005ca0| 00 97 00 a0 00 8d 00 a0 | 00 8c 00 01 00 0a 00 a4 |........|........|
|00005cb0| 00 57 02 36 01 d7 00 09 | 00 00 00 00 00 00 00 00 |.W.6....|........|
|00005cc0| 00 31 01 3c 00 75 01 77 | 00 c8 00 09 ff ff ff ff |.1.<.u.w|........|
|00005cd0| ff ff ff ff 00 30 01 3b | 00 74 01 78 00 c9 00 a1 |.....0.;|.t.x....|
|00005ce0| 00 96 00 0c 02 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 a1 00 9a 00 08 00 0b | 00 00 00 11 00 00 00 01 |........|........|
|00005d00| 00 0a 01 44 00 77 01 6d | 00 c6 00 15 38 3e 00 a1 |...D.w.m|....8>..|
|00005d10| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00005d20| 00 00 00 00 00 28 01 4e | 00 8d 05 53 4e 4d 50 0d |.....(.N|...SNMP.|
|00005d30| 00 15 fe 56 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |...V...d|..ONLN.d|
|00005d40| ff ff 00 00 00 00 00 00 | 00 00 00 28 01 5c 00 85 |........|...(.\..|
|00005d50| 0a 54 72 61 6e 73 70 6f | 72 74 0d 00 00 15 eb 0c |.Transpo|rt......|
|00005d60| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|00005d70| 00 00 00 00 00 00 00 2b | 02 0d 08 53 75 62 43 6c |.......+|...SubCl|
|00005d80| 61 73 73 00 00 a0 00 97 | 00 a0 00 8d 00 a1 00 64 |ass.....|.......d|
|00005d90| 00 0a 4d 44 50 4c 00 09 | 00 01 00 03 00 a0 00 8c |..MDPL..|........|
|00005da0| 00 01 00 0a 00 a4 00 57 | 02 36 01 d7 00 71 00 1e |.......W|.6...q..|
|00005db0| 01 12 00 9b 01 1f 00 a3 | 01 12 00 9f 01 1f 00 a3 |........|........|
|00005dc0| 01 1f 00 9f 01 1f 00 9b | 01 12 00 9f 00 71 00 1e |........|.....q..|
|00005dd0| 01 31 00 9b 01 3e 00 a3 | 01 3e 00 9f 01 31 00 9b |.1...>..|.>...1..|
|00005de0| 01 31 00 9f 01 31 00 a3 | 01 3e 00 9f 00 07 00 01 |.1...1..|.>......|
|00005df0| 00 01 00 22 01 1f 00 9f | 00 12 00 a0 00 8d 00 a1 |..."....|........|
|00005e00| 00 64 00 08 4d 44 50 4c | 00 0a 00 00 00 a1 00 64 |.d..MDPL|.......d|
|00005e10| 00 0a 4d 44 50 4c 00 09 | 00 01 00 03 00 a0 00 8c |..MDPL..|........|
|00005e20| 00 71 00 1e 01 78 00 9a | 01 85 00 a2 01 78 00 9e |.q...x..|.....x..|
|00005e30| 01 85 00 a2 01 85 00 9e | 01 85 00 9a 01 78 00 9e |........|.....x..|
|00005e40| 00 71 00 1e 01 97 00 9a | 01 a4 00 a2 01 a4 00 9e |.q......|........|
|00005e50| 01 97 00 9a 01 97 00 9e | 01 97 00 a2 01 a4 00 9e |........|........|
|00005e60| 00 22 01 85 00 9e 00 12 | 00 a0 00 8d 00 a1 00 64 |."......|.......d|
|00005e70| 00 08 4d 44 50 4c 00 0a | 00 00 00 a0 00 8c 00 07 |..MDPL..|........|
|00005e80| 00 02 00 02 00 30 00 a5 | 00 73 01 13 01 55 00 a1 |.....0..|.s...U..|
|00005e90| 00 96 00 0c 02 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|00005ea0| 00 a1 00 9a 00 08 ff fb | 00 00 00 31 00 00 00 01 |........|...1....|
|00005eb0| 00 0a 00 b5 00 7f 00 c5 | 00 e1 00 0d 00 0e 00 a1 |........|........|
|00005ec0| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00005ed0| 00 00 00 00 00 28 00 c1 | 00 80 0c 53 4e 4d 50 20 |.....(..|...SNMP |
|00005ee0| 4d 61 6e 61 67 65 72 00 | 00 a0 00 97 00 a0 00 8c |Manager.|........|
|00005ef0| 00 01 00 0a 00 a4 00 57 | 02 36 01 d7 00 09 00 00 |.......W|.6......|
|00005f00| 00 00 00 00 00 00 00 31 | 00 d7 00 74 01 12 00 c6 |.......1|...t....|
|00005f10| 00 09 ff ff ff ff ff ff | ff ff 00 30 00 d6 00 73 |........|...0...s|
|00005f20| 01 13 00 c7 00 a1 00 96 | 00 0c 02 00 00 00 02 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 a1 | 00 9a 00 08 00 04 00 00 |........|........|
|00005f40| 00 11 00 00 00 01 00 0a | 00 e5 00 75 01 00 00 c4 |........|...u....|
|00005f50| 00 0d 00 0c 00 15 f5 ec | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00005f60| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 2b |LN.d....|.......+|
|00005f70| 0b 2e 05 53 4e 4d 50 0d | 00 15 bc 04 00 a1 00 64 |...SNMP.|.......d|
|00005f80| 00 10 4f 4e 4c 4e 00 64 | ff ff 00 00 00 00 00 00 |..ONLN.d|........|
|00005f90| 00 00 00 28 00 fc 00 83 | 09 54 72 61 6e 73 70 6f |...(....|.Transpo|
|00005fa0| 72 74 00 a0 00 97 00 a0 | 00 8d 00 a0 00 8c 00 01 |rt......|........|
|00005fb0| 00 0a 00 a4 00 57 02 36 | 01 d7 00 09 00 00 00 00 |.....W.6|........|
|00005fc0| 00 00 00 00 00 31 00 d7 | 00 c5 01 12 01 07 00 09 |.....1..|........|
|00005fd0| ff ff ff ff ff ff ff ff | 00 30 00 d6 00 c4 01 13 |........|.0......|
|00005fe0| 01 08 00 a1 00 96 00 0c | 02 00 00 00 02 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 a1 00 9a | 00 08 00 04 00 00 00 10 |........|........|
|00006000| 00 00 00 01 00 0a 00 e5 | 00 c6 01 00 01 06 00 15 |........|........|
|00006010| a8 ba 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |.....d..|ONLN.d..|
|00006020| 00 00 00 00 00 00 00 00 | 00 28 00 ef 00 d5 05 53 |........|.(.....S|
|00006030| 4e 4d 50 0d 00 15 6e d2 | 00 a1 00 64 00 10 4f 4e |NMP...n.|...d..ON|
|00006040| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 2b |LN.d....|.......+|
|00006050| 01 0d 05 41 67 65 6e 74 | 00 a0 00 97 00 a0 00 8d |...Agent|........|
|00006060| 00 01 00 0a 00 a4 00 57 | 02 36 01 d7 00 22 00 d6 |.......W|.6..."..|
|00006070| 01 21 e6 00 00 a1 00 96 | 00 0c 02 00 00 00 02 00 |.!......|........|
|00006080| 00 00 00 00 00 00 00 a1 | 00 9a 00 08 00 0b 00 00 |........|........|
|00006090| 00 10 00 00 00 01 00 0a | 00 e1 01 18 01 0a 01 47 |........|.......G|
|000060a0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|000060b0| 00 00 00 00 00 00 00 28 | 00 eb 01 20 07 4f 74 68 |.......(|... .Oth|
|000060c0| 65 72 20 0d 00 15 3f ce | 00 a1 00 64 00 10 4f 4e |er ...?.|...d..ON|
|000060d0| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 28 |LN.d....|.......(|
|000060e0| 00 f8 01 1e 07 53 68 61 | 72 65 64 0d 00 15 2e d0 |.....Sha|red.....|
|000060f0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|00006100| 00 00 00 00 00 00 00 28 | 01 06 01 19 09 4c 69 62 |.......(|.....Lib|
|00006110| 72 61 72 69 65 73 00 a0 | 00 97 00 a0 00 8d 00 a1 |raries..|........|
|00006120| 00 96 00 0c 01 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|00006130| 00 a1 00 9a 00 08 ff fb | 00 00 00 3a 00 00 00 01 |........|...:....|
|00006140| 00 0a 00 d5 01 64 00 e4 | 01 d6 00 0d 00 0e 00 15 |.....d..|........|
|00006150| f4 d0 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |.....d..|ONLN.d..|
|00006160| 00 00 00 00 00 00 00 00 | 00 28 00 e0 01 65 12 50 |........|.(...e.P|
|00006170| 72 6f 76 69 64 65 64 20 | 4c 69 62 72 61 72 69 65 |rovided |Librarie|
|00006180| 73 00 00 a0 00 97 00 a1 | 00 96 00 0c 01 00 00 00 |s.......|........|
|00006190| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 ff fb |........|........|
|000061a0| 00 00 00 21 00 00 00 01 | 00 0a 01 4f 01 6a 01 5e |...!....|...O.j.^|
|000061b0| 01 ad 00 15 5d 0c 00 a1 | 00 64 00 10 4f 4e 4c 4e |....]...|.d..ONLN|
|000061c0| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 2b 06 7b |.d......|.....+.{|
|000061d0| 09 59 6f 75 72 20 43 6f | 64 65 00 a0 00 97 00 a1 |.Your Co|de......|
|000061e0| 00 96 00 0c 01 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 a1 00 9a 00 08 ff fc | 00 00 00 2d 00 00 00 01 |........|...-....|
|00006200| 00 0a 01 c8 01 66 01 d8 | 01 c0 00 15 87 c5 00 a1 |.....f..|........|
|00006210| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00006220| 00 00 00 00 00 28 01 d4 | 01 67 0d 4e 65 74 77 6f |.....(..|.g.Netwo|
|00006230| 72 6b 20 53 74 61 63 6b | 00 a0 00 97 00 a1 00 d8 |rk Stack|........|
|00006240| 00 04 ff ff 80 00 00 a1 | 00 d6 00 04 ff ff 80 00 |........|........|
|00006250| 00 a0 00 d7 00 a1 00 b4 | 00 05 00 00 02 09 09 00 |........|........|
|00006260| 00 01 00 0a 00 a4 00 57 | 02 36 01 d7 00 07 00 01 |.......W|.6......|
|00006270| 00 01 00 08 00 17 00 20 | 01 29 00 5f 01 29 01 d4 |....... |.)._.)..|
|00006280| 00 a0 00 b5 00 a1 00 d6 | 00 04 ff ff 80 00 00 a0 |........|........|
|00006290| 00 d7 00 a0 00 d9 00 a1 | 00 d6 00 04 ff ff 80 00 |........|........|
|000062a0| 00 a1 00 d8 00 04 ff ff | 80 00 00 a0 00 be 00 a0 |........|........|
|000062b0| 00 d9 00 a0 00 8c 00 08 | 00 08 00 22 01 29 00 5f |........|...".)._|
|000062c0| 08 00 00 22 01 29 00 70 | 08 00 00 22 01 29 00 82 |...".).p|...".)..|
|000062d0| 07 00 00 22 01 29 00 93 | 08 00 00 22 01 29 00 a5 |...".)..|...".)..|
|000062e0| 07 00 00 22 01 29 00 b6 | 08 00 00 22 01 29 00 c7 |...".)..|...".)..|
|000062f0| 08 00 00 22 01 29 00 d9 | 08 00 00 22 01 29 00 ea |...".)..|...".)..|
|00006300| 08 00 00 22 01 29 00 fc | 08 00 00 22 01 29 01 0d |...".)..|...".)..|
|00006310| 08 00 00 22 01 29 01 1f | 08 00 00 22 01 29 01 30 |...".)..|...".).0|
|00006320| 08 00 00 22 01 29 01 42 | 07 00 00 22 01 29 01 53 |...".).B|...".).S|
|00006330| 08 00 00 22 01 29 01 65 | 07 00 00 22 01 29 01 76 |...".).e|...".).v|
|00006340| 08 00 00 22 01 29 01 87 | 08 00 00 22 01 29 01 99 |...".)..|...".)..|
|00006350| 08 00 00 22 01 29 01 aa | 08 00 00 22 01 29 01 bc |...".)..|...".)..|
|00006360| 08 00 00 22 01 29 01 cd | 06 00 00 a0 00 8d 00 a1 |...".)..|........|
|00006370| 00 d8 00 04 ff ff 80 00 | 00 a0 00 bf 00 a0 00 d9 |........|........|
|00006380| 00 a0 00 d7 00 a1 00 64 | 00 08 4d 44 50 4c 00 07 |.......d|..MDPL..|
|00006390| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 31 01 23 |........|.....1.#|
|000063a0| 01 37 01 31 01 75 00 a1 | 00 96 00 0c 01 00 00 00 |.7.1.u..|........|
|000063b0| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 ff fd |........|........|
|000063c0| 00 00 00 1f 00 00 00 01 | 00 0a 01 23 01 37 01 31 |........|...#.7.1|
|000063d0| 01 75 00 0d 00 0c 00 a1 | 00 64 00 10 4f 4e 4c 4e |.u......|.d..ONLN|
|000063e0| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 28 01 2d |.d......|.....(.-|
|000063f0| 01 38 0b 54 72 61 6e 73 | 70 6f 72 74 2e 68 00 a0 |.8.Trans|port.h..|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.